Mercurial > mplayer.hg
view mixer.h @ 7256:ec6dd0a29d93
Add the code that chooses a good X11 truecolor visual to the vo_x11 config()
function. This is useful for framebuffers on Sun hardware, where we have
multiple truecolor visuals of different depths available, and the root
window typically runs at depth 8, yet there are 24 bit true color visuals
available as well.
author | jkeil |
---|---|
date | Tue, 03 Sep 2002 18:10:42 +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