view mixer.h @ 7143:fdfc10c2e2d2

- Tell the RTSP client code to use the string "mplayer" in RTSP "User-Agent:" fields. NOTE: This requires an up-to-date version of the LIVE.COM Streaming Media libraries. - Fix a bug that could cause mplayer to crash on exit if a "rtsp://" URL was bad. patch by Ross Finlayson <finlayson@live.com>
author arpi
date Thu, 29 Aug 2002 20:19:33 +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