view mixer.h @ 7628:d6608342591d

This patch adds the functionality to disable/enable subtitles while playing a video. I mapped it to the input-keyword "sub_visibility". This keyword is mapped to the 'v' key on the keyboard. I tested the patch with old-fashioned subtitles, with freetype subtitles and DVD subtitles. Works fine. The patch also includes documentation updates. patch by Uwe.Reder@3SOFT.de
author arpi
date Sun, 06 Oct 2002 17:40:51 +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