1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-15 03:15:52 +00:00
mpv/mixer.h

19 lines
455 B
C
Raw Normal View History

#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