]> granicus.if.org Git - handbrake/commit
Fix the volume output level of our dts decoder
authorjstebbins <jstebbins.hb@gmail.com>
Mon, 4 Apr 2011 14:52:05 +0000 (14:52 +0000)
committerjstebbins <jstebbins.hb@gmail.com>
Mon, 4 Apr 2011 14:52:05 +0000 (14:52 +0000)
commit8966fc1eda85982bfcc106fac8a9aef14b10202b
treee28167e174d1dd1d576cf795b6e79a975e01e68c
parenta6fbb52b6c9f4b639101e6e4d37e670ca2840c84
Fix the volume output level of our dts decoder
dcadec returns samples that have values in the range -1.0 to 1.0.
We need these to be converted to the range -32768 to 32767.  For some
reason, decdca was scaling by 16768 instead of 32767.  This has been
like this since dts support was initially added by maurj.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3900 b64f7644-9d1e-0410-96f1-a4d463321fa5
libhb/decdca.c