aboutsummaryrefslogtreecommitdiff
path: root/common/huffman.h
diff options
context:
space:
mode:
authorTorbjörn Andersson2012-11-17 11:53:54 +0100
committerTorbjörn Andersson2012-11-17 11:53:54 +0100
commitee65532a5e3af0a92384d6d777110b6e602cf1c3 (patch)
treedb94721bb50a9261f542f5ab2917ff4396aa38b1 /common/huffman.h
parent4626e211496aad5ffe27bea3121483faa98770d7 (diff)
downloadscummvm-rg350-ee65532a5e3af0a92384d6d777110b6e602cf1c3.tar.gz
scummvm-rg350-ee65532a5e3af0a92384d6d777110b6e602cf1c3.tar.bz2
scummvm-rg350-ee65532a5e3af0a92384d6d777110b6e602cf1c3.zip
SCUMM: Avoid "pops" at the end of the note in Mac MI1/Loom music
At least on my computer, when the note ended abruptly there would be an annoying "pop" at the end. This was particularly noticeable at the end of the distaff notes in Loom. To get around this, fade out the last 100 samples. There's nothing magical about 100 in particular, but it's a nice even number and it should be short enough that it's never a noticeable part of the note, even at low sample rates.
Diffstat (limited to 'common/huffman.h')
0 files changed, 0 insertions, 0 deletions