53 Commits

Author SHA1 Message Date
Max Horn
1d7d03bd6e AUDIO: fix global constructor warnings 2021-08-07 10:46:14 +02:00
D G Turner
99a1a90e76 AUDIO: Fix for GCC Warnings from 64-bit Stream API Changes 2021-07-09 04:23:10 +01:00
Paul Gilbert
005561d305 COMMON: Increase Stream pos, seek, size from int32 to int64 2021-07-08 18:24:28 -07:00
SupSuper
df4bf9d557 SCI: Fix audio resources being freed too early
Copy audio resource buffers as we don't have control over the lifetime of the resource.
2021-06-03 23:27:46 +01:00
Strangerke
e26e78f968 TRECISION: Update comment in wave decoder to mention trecision 2021-05-29 21:24:38 +01:00
SupSuper
e1e57e31ce AUDIO: Add PCM Mu-law and A-law decoders
Used by Nightlong engine
2021-05-29 21:23:01 +01:00
Orgad Shaneh
b49e6eb96f JANITORIAL: Fix some excess tabs 2021-04-15 23:18:08 +03:00
Eugene Sandulenko
5e7fe2dc57
JANITORIAL: Replace spaces in indentation with tabs 2021-04-15 21:20:36 +02:00
Thierry Crozat
88f265bd9a AUDIO: Remove macro and break conditions to improve readability 2021-04-14 18:36:47 +02: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
Matthew Hoops
faca37064b AUDIO: Mark the wave code as being used by buried 2021-03-22 00:07:37 +01:00
Le Philousophe
65e4b21674 AUDIO: Fix int constant while int32 was expected
This errors out on AmigaOS4
2021-03-14 20:32:45 +01:00
Matthew Duggan
1947eae043 AUDIO: Add support for Xan DPCM (Crusader: No Regret) 2021-03-14 19:16:24 +01:00
SupSuper
872a547230 AUDIO: Combine WaveFormat enums under one header 2021-02-05 21:16:11 +02:00
Pawel Kolodziejski
27e12d8a96 ALL: Eliminate LOCAL_PI macro 2020-09-23 23:20:23 +02:00
Pawel Kolodziejski
d5304e2568 ALL: Synced with ScummVM - rev: 33a47d23b85694015fe2aa340219d2b60db873f3 2020-09-03 02:21:14 +02:00
Pawel Kolodziejski
aea3bae26d ALL: Synced with ScummVM - rev 0b777c23a9807d149a11d4df5ea3f4e748fb53f2 2020-08-11 00:59:40 +02:00
Pawel Kolodziejski
b586571900 ALL: synced with ScummVM commit 09bf38c1207aa32b9966e8642ee60e2186e15789 2020-05-09 20:05:54 +02:00
Bastien Bouclet
d474e3f94f ALL: Sync with ScummVM - rev. ea3f8f2e33563987d8190cc66de75b6ac7f476db 2019-06-29 19:08:44 +02:00
Bastien Bouclet
148655f5c2 COMMON: Use a prefix table to speed up the Huffman decoder
Symbols for codes shorter than the prefix table index width are stored
in the table. All the entries in the table with an index starting with
the code are set to the symbol value. That way, when decoding it is
possible to get the number of bits corresponding to the table width from
the bitstream and directly find the symbol value. Longer code still need
to be searched for in the codes list.
2019-04-14 20:24:26 +02:00
Bastien Bouclet
66654cb376 ALL: Sync with ScummVM - rev. cd37d510f93a7e9ba35a442d2a3d15de9f4846da 2019-01-26 20:47:55 +01:00
Bastien Bouclet
3ec01653c3 ALL: Merge from ScummVM rev 3a933138ce9273724726efc0df051b8dcf92b7d8 2017-12-06 21:41:03 +01:00
Bastien Bouclet
fc67541742 ALL: Silence some GCC7 fall through warnings 2017-09-02 15:24:01 +02:00
Bastien Bouclet
84e62b6c8d ALL: Sync with ScummVM - rev. 87ebc7140c1bc650e7a6ac89b102f8f2d2970f63 2017-09-02 15:04:07 +02:00
Pawel Kolodziejski
19bcd1f3bc ALL: Sync with ScummVM 2016-11-12 12:59:06 +01:00
Pawel Kolodziejski
9ba9c69b3f ALL: Sync with ScummVM - rev. 823c2f899b480a1fa494b08e1471142129293779 2016-11-12 08:49:29 +01:00
Sven Hesse
677f6f7e1f AUDIO: Fix undefined shift in WMACodec::calculateMDCTCoefficients()
See a48b24e5eb
2016-09-30 06:20:01 +02:00
Pawel Kolodziejski
baab5c4223 ALL: sync with ScummVM 2015-09-16 07:12:11 +02:00
Pawel Kolodziejski
5c7fd27706 ALL: sync with ScummVM 2015-09-06 16:08:49 +02:00
Pawel Kolodziejski
11b457122b ALL: synced with ScummVM 2015-08-16 08:49:02 +02:00
Bastien Bouclet
d6fc47b032 AUDIO: Allow retrieving the duration of ASF stream 2015-04-19 11:46:02 +02:00
Bastien Bouclet
86f641ebb9 AUDIO: Add the WMA decoder from xoreos
Credits go to DrMcCoy, clone2727 and the ffmpeg authors
Permission is granted by DrMcCoy and clone2727 relicense this
from GPLv3+ to GPLv2+.
2015-04-19 11:46:01 +02:00
Pawel Kolodziejski
4fe80cd669 ALL: synced with ScummVM 2015-04-19 07:43:34 +02:00
Pawel Kolodziejski
1a07a23294 ALL: synced with ScummVM 2014-08-18 05:21:52 +02:00
Pawel Kolodziejski
39cf2f5586 ALL: Synced with ScummVM 2014-08-04 21:55:19 +02:00
Pawel Kolodziejski
8759900b6a ALL: synced with ScummVM 2014-04-05 18:18:42 +02:00
Pawel Kolodziejski
068ff94d20 ALL: synced with ScummVM 2013-07-07 15:29:33 +02:00
Pawel Kolodziejski
adcb0b8383 ALL: synced with scummvm 2012-11-18 19:07:46 +01:00
Pawel Kolodziejski
8bc0a26091 ALL: synced with scummvm 2012-08-20 08:20:05 +02:00
Pawel Kolodziejski
bc71f3f583 synced with scummvm 2012-02-22 17:21:09 +01:00
Joel Teichroeb
5a9a81764f AUDIO: Add the AIFF decoder from ScummVM 2012-02-17 16:48:06 -08:00
Bastien Bouclet
2e510a71f9 AUDIO: Add support for RAW PCM wave stream with an incomplete packet
The last incomplete packet is ignored
2012-02-09 16:34:07 +01:00
Bastien Bouclet
377889ef0b AUDIO: Import the wave decoder from ScummVM.
This is needed for audio support in Myst 3.
2012-01-21 09:49:55 +01:00
Pawe³ Ko³odziejski
a5479cfe83 sync with scummvm 2012-01-06 22:56:21 +01:00
Matthew Hoops
03f13f8307 AUDIO: Update Vag/XA code from ScummVM
Looping sounds now work in EMI PS2
2011-08-28 20:13:11 -04:00
Pawel Kolodziejski
8dd0f82574 sync with scummvm 2011-07-20 08:02:02 +02:00
Pawel Kolodziejski
7329a5d164 ALL: sync with scummvm 2011-06-09 11:17:15 +02:00
Pawel Kolodziejski
356c9c8c07 sync with scummvm 2011-05-18 23:33:39 +02:00
Pawel Kolodziejski
6be453780f synced with scummvm 2011-05-01 17:49:40 +02:00