aboutsummaryrefslogtreecommitdiffhomepage
path: root/mixer.h
blob: a541657dc8e2e7da6d638dec8be5adf65d559413 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

#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