diff options
author | Torbjörn Andersson | 2012-11-17 11:53:54 +0100 |
---|---|---|
committer | Torbjörn Andersson | 2012-11-17 11:53:54 +0100 |
commit | ee65532a5e3af0a92384d6d777110b6e602cf1c3 (patch) | |
tree | db94721bb50a9261f542f5ab2917ff4396aa38b1 /common/util.h | |
parent | 4626e211496aad5ffe27bea3121483faa98770d7 (diff) | |
download | scummvm-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/util.h')
0 files changed, 0 insertions, 0 deletions