diff options
author | Thierry Crozat | 2017-09-05 21:17:00 +0100 |
---|---|---|
committer | Thierry Crozat | 2018-01-23 02:15:32 +0000 |
commit | 86795f0fa2c60d322bececf133762b85ef44a23e (patch) | |
tree | 795659ccb8764a2f6bb989477dc2739a1188f618 /common/scummsys.h | |
parent | 696fcb6bb98a2e527ebba8c70548930fe3a6cb31 (diff) | |
download | scummvm-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/scummsys.h')
0 files changed, 0 insertions, 0 deletions