1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-30 11:02:10 +00:00
mpv/mixer.h

20 lines
477 B
C
Raw Normal View History

#ifndef __MPLAYER_MIXER
#define __MPLAYER_MIXER
extern char * mixer_device;
extern char * mixer_channel;
extern int muted;
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 );
void mixer_mute( void );
//extern void mixer_setbothvolume( int v );
#define mixer_setbothvolume( v ) mixer_setvolume( v,v )
#endif