X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=plugins%2Fbeos%2Fintf_beos.cpp;h=554fb903a9cdbf7a2c50e88028bfe4db6a9f20f0;hb=a70f8bb371466209770c4c3bcdb7137b94acef66;hp=bee872e340d782f9638c185a03f5f73f75d30fc8;hpb=7f1f24b3aa593a6c426a86e9b707b162372a1b9f;p=vlc diff --git a/plugins/beos/intf_beos.cpp b/plugins/beos/intf_beos.cpp index bee872e340..554fb903a9 100644 --- a/plugins/beos/intf_beos.cpp +++ b/plugins/beos/intf_beos.cpp @@ -2,7 +2,7 @@ * intf_beos.cpp: beos interface ***************************************************************************** * Copyright (C) 1999, 2000, 2001 VideoLAN - * $Id: intf_beos.cpp,v 1.26 2001/04/29 17:03:20 sam Exp $ + * $Id: intf_beos.cpp,v 1.27 2001/05/01 04:18:17 sam Exp $ * * Authors: Jean-Marc Dressler * Samuel Hocevar @@ -281,7 +281,7 @@ void InterfaceWindow::MessageReceived( BMessage * p_message ) // silence the sound, otherwise very horrible if (p_main->p_aout != NULL) { - p_main->p_aout->vol = 0; + p_main->p_aout->i_vol = 0; } snooze(400000); input_SetStatus(p_intf->p_input, INPUT_STATUS_END); @@ -293,7 +293,7 @@ void InterfaceWindow::MessageReceived( BMessage * p_message ) // { // if (p_main->p_aout != NULL) // { -// p_main->p_aout->vol = vol_val; +// p_main->p_aout->i_vol = vol_val; // } // snooze(400000); // input_SetStatus(p_intf->p_input, INPUT_STATUS_PLAY); @@ -309,7 +309,7 @@ void InterfaceWindow::MessageReceived( BMessage * p_message ) { if (p_main->p_aout != NULL) { - p_main->p_aout->vol = 0; + p_main->p_aout->i_vol = 0; } playback_status = PAUSED; } @@ -318,7 +318,7 @@ void InterfaceWindow::MessageReceived( BMessage * p_message ) { if (p_main->p_aout != NULL) { - p_main->p_aout->vol = vol_val; + p_main->p_aout->i_vol = vol_val; } playback_status = PLAYING; } @@ -332,7 +332,7 @@ void InterfaceWindow::MessageReceived( BMessage * p_message ) { if (p_main->p_aout != NULL) { - p_main->p_aout->vol = 0; + p_main->p_aout->i_vol = 0; } snooze(400000); input_SetStatus(p_intf->p_input, INPUT_STATUS_FASTER); @@ -344,7 +344,7 @@ void InterfaceWindow::MessageReceived( BMessage * p_message ) { if (p_main->p_aout != NULL) { - p_main->p_aout->vol = 0; + p_main->p_aout->i_vol = 0; } snooze(400000); input_SetStatus(p_intf->p_input, INPUT_STATUS_SLOWER); @@ -357,22 +357,22 @@ void InterfaceWindow::MessageReceived( BMessage * p_message ) // adjust the volume if (p_main->p_aout != NULL) { - p_main->p_aout->vol = vol_val; + p_main->p_aout->i_vol = vol_val; } break; case VOLUME_MUTE: // mute if (p_main->p_aout != NULL) { - if (p_main->p_aout->vol == 0) + if (p_main->p_aout->i_vol == 0) { p_vol->SetEnabled(true); - p_main->p_aout->vol = vol_val; + p_main->p_aout->i_vol = vol_val; } else { p_vol->SetEnabled(false); - p_main->p_aout->vol = 0; + p_main->p_aout->i_vol = 0; } } break;