comparison Gui/mplayer/mixer.c @ 1823:a6c67352ccac

fix some bug.
author pontscho
date Sat, 01 Sep 2001 17:53:07 +0000
parents a04b2f92bd14
children
comparison
equal deleted inserted replaced
1822:85dda3b18445 1823:a6c67352ccac
8 //extern void mixer_decvolume( void ); 8 //extern void mixer_decvolume( void );
9 //extern float mixer_getbothvolume( void ); 9 //extern float mixer_getbothvolume( void );
10 10
11 float mixerGetVolume( void ) 11 float mixerGetVolume( void )
12 { 12 {
13 mplShMem->Volume=mixer_getbothvolume(); 13 // mplShMem->Volume=(float)mixer_getbothvolume();
14 return mplShMem->Volume; 14 return mplShMem->Volume;
15 } 15 }
16 16
17 void mixerSetVolume( float v ) 17 void mixerSetVolume( float v )
18 { 18 {
20 mixer_setvolume( v,v ); 20 mixer_setvolume( v,v );
21 } 21 }
22 22
23 void mixerIncVolume( void ) 23 void mixerIncVolume( void )
24 { 24 {
25 mixer_incvolume(); 25 // mixer_incvolume();
26 mixerGetVolume(); 26 mixerGetVolume();
27 } 27 }
28 28
29 void mixerDecVolume( void ) 29 void mixerDecVolume( void )
30 { 30 {
31 mixer_decvolume(); 31 // mixer_decvolume();
32 mixerGetVolume(); 32 mixerGetVolume();
33 } 33 }
34 34
35 void mixerMute( void ) 35 void mixerMute( void )
36 { 36 {