Fix underflow in softvol when either left or right volume is 100%
commitfb4d248e70c1f05b08e8fb28641975cac1bab5a3
authorTimo Hirvonen <tihirvon@gmail.com>
Tue, 15 Jan 2008 14:02:50 +0000 (15 16:02 +0200)
committerTimo Hirvonen <tihirvon@gmail.com>
Tue, 15 Jan 2008 14:02:50 +0000 (15 16:02 +0200)
tree00a65a55f9e034a8958076c257bd3aa161b40899
parentb9a9b2eeafed1413cfe0752a417f73abd4a3b1e1
Fix underflow in softvol when either left or right volume is 100%

Scaling samples using scale 65536 (100% volume) causes sample value
-32768 underflow to 32767.
player.c