aboutsummaryrefslogtreecommitdiff
path: root/common/str.cpp
diff options
context:
space:
mode:
authorThierry Crozat2017-09-05 21:17:00 +0100
committerThierry Crozat2018-01-23 02:15:32 +0000
commit86795f0fa2c60d322bececf133762b85ef44a23e (patch)
tree795659ccb8764a2f6bb989477dc2739a1188f618 /common/str.cpp
parent696fcb6bb98a2e527ebba8c70548930fe3a6cb31 (diff)
downloadscummvm-rg350-86795f0fa2c60d322bececf133762b85ef44a23e.tar.gz
scummvm-rg350-86795f0fa2c60d322bececf133762b85ef44a23e.tar.bz2
scummvm-rg350-86795f0fa2c60d322bececf133762b85ef44a23e.zip
SUPERNOVA: Fix clicks at start and end of audio samples
The sound samples start with a 6 bytes header (including the size of the sample coded on a little endian 16 bits uint on bytes 2 and 3) and end with 4 bytes set to null. Those were passed to the raw stream, which resulted in the audible clicks. Note that we could use the information from the header to load the sound samples instead of keeping around an array of offset and size.
Diffstat (limited to 'common/str.cpp')
0 files changed, 0 insertions, 0 deletions