Commit Graph
13 Commits
Author SHA1 Message Date
AndywinXp d4a0ac0e78 SCUMM: DIMUSE: Fix uninit memory read for low latency mode 2023-01-15 12:12:06 +01:00
BLooperZ 4f5a71aae1 SCUMM: FT: Fix unitialized stream in low latency mode 2023-01-14 21:27:29 +01:00
AndywinXp 8d0e97af70 SCUMM: DIMUSE: Implement low latency mode
This fixes bug #13462
2023-01-10 21:17:23 +01:00
AndywinXp c3256a614a SCUMM: DIMUSE: Make engine sample rate and feed size parametric 2023-01-02 22:55:26 +01:00
AndywinXp 344349dbd9 SCUMM: DiMUSE: Allow original mono mixing routines to work
These changes make use of _mixer->getOutputStereo() to select the proper number of audio channels.
This makes it possible to have mono audio produced using the proper DiMUSE internal mixer mono
routines, instead of having the ScummVM mixer folding down a stereo mix.
2022-11-27 12:25:14 +01:00
AndywinXp 9518dc5341 SCUMM: DiMUSE: Fix if guard for quarter samplerate case
Also, amend a5d4e15 which removed the half samplerate case.
2022-07-13 07:50:04 +02:00
D G Turner a5d4e15f14 SCUMM: DiMUSE: Remove Older Code Path for 8-bit Stereo Audio Mixing
This would have been executed instead of the newer code added in the
previous commit on this module.
2022-07-13 00:51:33 +01:00
AndywinXp 19a7a40c41 SCUMM: DiMUSE: Properly mix audio which with quarter sample rate
This fixes instances in which audio chunks with a sample rate equal to a
quarter of the global one were not mixed correctly, causing wave aliasing
during the reconstruction of the analog signal from the digital one.
2022-07-12 17:49:26 +02:00
Andrea Boscarino 5c63294632 SCUMM: DiMUSE: Fix mixer behavior for 8-bit audio and mixBufStartIndex != 0
This fixes some ugly audio pops and glitches on The Dig (full and demo) and FT
Also, fix formatting
2022-04-16 23:25:31 +02:00
Andrea Boscarino a083cf5abc SCUMM: DiMUSE: Create separate InternalMixer flow for FT engine 2022-03-06 11:11:11 +01:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Andrea Boscarino f896e44e92 SCUMM: DiMUSE: Change hardcoded sample rate to macro in the InternalMxier 2021-11-22 18:08:21 +01:00
Andrea Boscarino f731cfd648 SCUMM: DiMUSE: New Digital iMUSE Engine (#3368)
SCUMM: DiMUSE: Add new implementation of the engine
2021-11-16 00:05:18 +01:00