Mercurial > mplayer.hg
annotate mixer.h @ 8601:7fe391d6c293
The following patch adds two new command line options:
-sub-bkg-color n
-sub-bkg-alpha n
They control the color and alpha value used to initialize the subtitles and OSD BBOX.
With this you can have subtitles inside a traslucent rectangle.
This is useful when a movie already have "hardcoded" subtitles and you
want to overwrite them with rendered subtitles avoiding too much confusion.
patch by Salvador Eduardo Tropea <salvador@inti.gov.ar>
author | arpi |
---|---|
date | Sat, 28 Dec 2002 13:41:02 +0000 |
parents | da2dda48b7ec |
children | 4e8f8efb6906 |
rev | line source |
---|---|
441 | 1 |
2 #ifndef __MPLAYER_MIXER | |
3 #define __MPLAYER_MIXER | |
4 | |
5 extern char * mixer_device; | |
6311
da2dda48b7ec
add mute support ( step 1 ) and fixed panscan bugs (1000l for me)
pontscho
parents:
4788
diff
changeset
|
6 extern int muted; |
441 | 7 |
1038
b36fb1ae4b53
applied solaris8/netbsd/other fixes patch by J¸«ärgen Keil <jk@tools.de>
arpi_esp
parents:
441
diff
changeset
|
8 extern void mixer_getvolume( float *l,float *r ); |
b36fb1ae4b53
applied solaris8/netbsd/other fixes patch by J¸«ärgen Keil <jk@tools.de>
arpi_esp
parents:
441
diff
changeset
|
9 extern void mixer_setvolume( float l,float r ); |
441 | 10 extern void mixer_incvolume( void ); |
11 extern void mixer_decvolume( void ); | |
1038
b36fb1ae4b53
applied solaris8/netbsd/other fixes patch by J¸«ärgen Keil <jk@tools.de>
arpi_esp
parents:
441
diff
changeset
|
12 extern float mixer_getbothvolume( void ); |
6311
da2dda48b7ec
add mute support ( step 1 ) and fixed panscan bugs (1000l for me)
pontscho
parents:
4788
diff
changeset
|
13 void mixer_mute( void ); |
441 | 14 |
15 //extern void mixer_setbothvolume( int v ); | |
16 #define mixer_setbothvolume( v ) mixer_setvolume( v,v ) | |
17 | |
1038
b36fb1ae4b53
applied solaris8/netbsd/other fixes patch by J¸«ärgen Keil <jk@tools.de>
arpi_esp
parents:
441
diff
changeset
|
18 #endif |