view Gui/mplayer/mixer.c @ 1791:2e86c5c8071e

fix subvindov
author pontscho
date Thu, 30 Aug 2001 22:07:19 +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;
}