2001-04-15 20:37:07 +02:00
|
|
|
|
|
|
|
#ifndef __MPLAYER_MIXER
|
|
|
|
#define __MPLAYER_MIXER
|
|
|
|
|
|
|
|
#define DEV_MIXER "/dev/mixer"
|
|
|
|
|
|
|
|
extern int mixer_usemaster;
|
|
|
|
extern char * mixer_device;
|
|
|
|
|
2001-06-05 20:40:44 +02:00
|
|
|
extern void mixer_getvolume( float *l,float *r );
|
|
|
|
extern void mixer_setvolume( float l,float r );
|
2001-04-15 20:37:07 +02:00
|
|
|
extern void mixer_incvolume( void );
|
|
|
|
extern void mixer_decvolume( void );
|
2001-06-05 20:40:44 +02:00
|
|
|
extern float mixer_getbothvolume( void );
|
2001-04-15 20:37:07 +02:00
|
|
|
|
|
|
|
//extern void mixer_setbothvolume( int v );
|
|
|
|
#define mixer_setbothvolume( v ) mixer_setvolume( v,v )
|
|
|
|
|
2001-06-05 20:40:44 +02:00
|
|
|
#endif
|