view mixer.h @ 2594:1486c690bece

added macros for weirdos (irix/sunos) fixed some messages rewrite OS names if necessary (irix/cygwin) added mips known type {sdl,sdl11,gtk,gtk12,glib,glib12}-config autodetection
author pl
date Wed, 31 Oct 2001 18:25:28 +0000
parents b36fb1ae4b53
children d678ce495a75
line wrap: on
line source


#ifndef __MPLAYER_MIXER
#define __MPLAYER_MIXER

#define DEV_MIXER "/dev/mixer"

extern int    mixer_usemaster;
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