Mercurial > mplayer.hg
view liba52/config.h @ 16972:6a1eaca0e6c1
DirectSound's GetVolume and SetVolume use 100ths of decibels and range from -10,000 to 0.
MPlayer uses a linear intensity value between 0.0 and 100.0.
This patch converts the values properly rather than simply linearly mapping the range.
author | joey |
---|---|
date | Fri, 11 Nov 2005 03:07:01 +0000 |
parents | 55ae383844e9 |
children |
line wrap: on
line source
// mplayer -> liba52 config wrapper mess #include "../config.h" #ifdef HAVE_MLIB #define LIBA52_MLIB #endif // define for double precision: //#define LIBA52_DOUBLE