Commit graph

18 commits

Author SHA1 Message Date
Walter Agazzi
641374b5ed AUDIO: Detect and skip BFW chunks in WAV files
Modern WAV files may contain extra chunks before the FMT header,
as specified in the Broadcast Wave Format extension.
These chunks must be skipped to properly read the header.
2023-10-21 16:13:20 +03:00
Walter Agazzi
9f802a181e AUDIO: Skip JUNK padding in WAV files
Some wave files may contain a JUNK chunk before the
'fmt ' chunk, used for padding. This should be skipped when reading the header.
2023-05-28 13:56:59 +03:00
Stephen Robinson
1ae637fb57 SCUMM: Lip syncing fixes for some HE games.
Backyard Baseball 2003 was missing dialog which was lip-synced to
animation. This was due to it using the WAV block alignment as a count
of bytes per sample. This is not true for the IMA ADPCM format used for
speech in Backyard Baseball 2003.
2022-05-23 23:22:18 +03:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh
af529f568b AUDIO: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 13:41:02 +02:00
SupSuper
e1e57e31ce AUDIO: Add PCM Mu-law and A-law decoders
Used by Nightlong engine
2021-05-29 21:23:01 +01:00
Thierry Crozat
4ea4627b11 AUDIO: Add support for 24 bit PCM WAV 2021-04-14 18:36:47 +02:00
SupSuper
fed5608e43 AUDIO: Wrap raw streams in SeekableSubReadStream instead of allocating them 2021-04-01 23:25:43 +03:00
SupSuper
872a547230 AUDIO: Combine WaveFormat enums under one header 2021-02-05 21:16:11 +02:00
Paul Gilbert
7b10dac542 AUDIO: Support Wave files with an initial fact chunk 2016-12-20 22:47:49 -05:00
Paul Gilbert
d7e52b4b50 AUDIO: Disable MP3 decoding in Wave files if MAD dependency is disabled 2016-09-02 23:54:55 -04:00
Paul Gilbert
417cc51bcb AUDIO: Add support for MP3 encoded data in WAVE files
This is needed for playback of Starship Titanic speech data
2016-09-02 21:32:32 -04:00
Colin Snover
cbc3b773aa AUDIO: Make WAV streams seekable
This allows raw PCM in WAVE containers to have duration and be
seekable, and opens the door for ADPCM streams to be seekable later
if necessary.

This change is needed to avoid duplication of RIFF/WAVE container
parsing for SCI engine, which uses raw PCM WAVE files and needs to
be able to determine their lengths.
2016-06-19 14:48:33 -05:00
Johannes Schickel
452cec49d9 AUDIO: Make GPL headers consistent in themselves. 2014-02-18 02:39:32 +01:00
Bastien Bouclet
577635acf2 AUDIO: Add support for RAW PCM wave stream with an incomplete packet
The last incomplete packet is ignored
2012-02-09 16:10:50 +01:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Ori Avtalion
9414d7a6e2 JANITORIAL: Reduce header dependencies in shared code
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Max Horn
42ab839dd6 AUDIO: Rename sound/ dir to audio/
svn-id: r55850
2011-02-09 01:09:01 +00:00
Renamed from sound/decoders/wave.cpp (Browse further)