view mixer.h @ 12191:60a5e538baf9

-rdynamic is not supported on Win32. Both _xanim and _real set it, so both should check for Win32.
author diego
date Tue, 13 Apr 2004 12:19:10 +0000
parents 4e8f8efb6906
children 9709ce101949
line wrap: on
line source


#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