Mercurial > mplayer.hg
view Gui/mplayer/mixer.c @ 1801:e16646a140fd
fix skin change
author | pontscho |
---|---|
date | Fri, 31 Aug 2001 13:05:37 +0000 |
parents | d237c5d4b216 |
children | a04b2f92bd14 |
line wrap: on
line source
#include "play.h" float mixerGetVolume( void ) { // --- // --- return mplShMem->Volume; } void mixerSetVolume( float v ) { // 0.0 ... 100.0 // --- printf("%%%%%% mixerSetVolume(%5.3f) \n",v); // --- mplShMem->Volume=v; } void mixerIncVolume( void ) { mixerSetVolume( mixerGetVolume() + 1.0f ); } void mixerDecVolume( void ) { mixerSetVolume( mixerGetVolume() - 1.0f ); } void mixerMute( void ) { } void mixerSetBalance( float b ) { // --- // --- printf("%%%%%% mixerSetBalance(%5.3f) \n",b); mplShMem->Balance=b; }