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