mpv/mixer.h

19 lines
455 B
C

#ifndef __MPLAYER_MIXER
#define __MPLAYER_MIXER
#define DEV_MIXER "/dev/mixer"
extern int mixer_usemaster;
extern char * mixer_device;
extern void mixer_getvolume( int *l,int *r );
extern void mixer_setvolume( int l,int r );
extern void mixer_incvolume( void );
extern void mixer_decvolume( void );
extern int mixer_getbothvolume( void );
//extern void mixer_setbothvolume( int v );
#define mixer_setbothvolume( v ) mixer_setvolume( v,v )
#endif