1 #ifndef __MPLAYER_MIXER
2 #define __MPLAYER_MIXER
5 #include "libao2/audio_out.h"
7 extern char * mixer_device
;
8 extern char * mixer_channel
;
10 extern float soft_vol_max
;
12 typedef struct mixer_s
{
13 ao_functions_t
*audio_out
;
20 void mixer_getvolume(mixer_t
*mixer
, float *l
, float *r
);
21 void mixer_setvolume(mixer_t
*mixer
, float l
, float r
);
22 void mixer_incvolume(mixer_t
*mixer
);
23 void mixer_decvolume(mixer_t
*mixer
);
24 void mixer_getbothvolume(mixer_t
*mixer
, float *b
);
25 void mixer_mute(mixer_t
*mixer
);
27 //extern void mixer_setbothvolume( int v );
28 #define mixer_setbothvolume(m, v) mixer_setvolume(m, v, v)