[MPlayer-dev-eng] [PATCH] forceable software volume control

D Richard Felker III dalias at aerifal.cx
Sun Nov 7 16:22:28 CET 2004


On Sat, Nov 06, 2004 at 11:33:53PM +0300, Vladimir Mosgalin wrote:
> On Sat, 6 Nov 2004, Reimar D?ffinger wrote:
> 
> RD>This just does not work as easy as that in the digital case. Amplifying
> RD>2x means you need one extra bit, for 8x amplification you need 3 extra
> RD>bits. So without changing the format (hard to do as often both source
> RD>and soundcard want 16 bit), this will only work when whoever created the
> RD>file wasted at least 3 bits out of 16 by not adjusting the volume
> RD>correctly. I am not convinced that adjusting to such crap is a good
> RD>idea.
> 
> With -af volume module I had to use values as high as 15 sometimes to
> get to the average volume level on some content. According to your
> calculations, I should have heard very low-quality sound... but that
> wasn't the case. Or do I miss something?

no, he misses somethoing: the fact that most dvds only use 10-12 of the
16 bits of dynamic range.

rich




More information about the MPlayer-dev-eng mailing list