view mixer.h @ 6320:12136df07dbd

common code to handle file/stdin/fifo opening, allows using named pipes and seeking with direct file redirection (mplayer < file.avi) based on patch by Eric Lammerts <eric@lammerts.org>
author arpi
date Fri, 07 Jun 2002 00:42:08 +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