view mixer.h @ 6633:769246a4eb41

cVS: --------------------------------------------------------------------- added get/set_sound controls stripped down initializing changed play() again outsourced xrun-handling added some cases to get_space() as xrun-handling added nonblock-mode added mmap-mode added subopts for mmap and noblock called mmap and noblock could be accessed as -ao alsa9:noblock:mmap
author joyping
date Wed, 03 Jul 2002 21:43:28 +0000
parents da2dda48b7ec
children 4e8f8efb6906
line wrap: on
line source


#ifndef __MPLAYER_MIXER
#define __MPLAYER_MIXER

extern char * mixer_device;
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