Mercurial > mplayer.hg
view mixer.h @ 3335:af2a76fdba9c
CVS is still broken with gcc3. This fixes it.
But please explain _why_ the 'volatile' attribute is needed with these
variables and why is it supposed to protect them ?
author | pl |
---|---|
date | Wed, 05 Dec 2001 10:31:10 +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