view mixer.h @ 5267:e5f57c576c48

Fixes crash which occured when it wasn't possible to connect to the display name in DISPLAY.
author ksorim
date Sat, 23 Mar 2002 10:09:39 +0000
parents d678ce495a75
children da2dda48b7ec
line wrap: on
line source


#ifndef __MPLAYER_MIXER
#define __MPLAYER_MIXER

extern char * mixer_device;

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 );

//extern void mixer_setbothvolume( int v );
#define mixer_setbothvolume( v ) mixer_setvolume( v,v )

#endif