*** empty log message ***

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1887 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
pontscho 2001-09-12 16:05:29 +00:00
parent bfc981f4ee
commit 579260bf31
2 changed files with 0 additions and 61 deletions

View File

@ -1,48 +0,0 @@
#include "play.h"
#include "../../mixer.h"
//extern void mixer_getvolume( float *l,float *r );
//extern void mixer_setvolume( float l,float r );
//extern void mixer_incvolume( void );
//extern void mixer_decvolume( void );
//extern float mixer_getbothvolume( void );
float mixerGetVolume( void )
{
// mplShMem->Volume=(float)mixer_getbothvolume();
return mplShMem->Volume;
}
void mixerSetVolume( float v )
{
mplShMem->Volume=v;
mixer_setvolume( v,v );
}
void mixerIncVolume( void )
{
// mixer_incvolume();
mixerGetVolume();
}
void mixerDecVolume( void )
{
// mixer_decvolume();
mixerGetVolume();
}
void mixerMute( void )
{
}
void mixerSetBalance( float b )
{
//printf("%%%%%% mixerSetBalance(%5.3f) \n",b);
mplShMem->Balance=b;
}
float mixerGetBalance( void )
{
return mplShMem->Balance;
}

View File

@ -1,13 +0,0 @@
#ifndef _MIXER_H
#define _MIXER_H
extern float mixerGetVolume( void );
extern void mixerSetVolume( float v );
extern void mixerIncVolume( void );
extern void mixerDecVolume( void );
extern void mixerMute( void );
extern void mixerSetBalance( float b );
extern float mixerGetBalance( void );
#endif