From 0c8745081664dc8081042f943675e106b11cc905 Mon Sep 17 00:00:00 2001 From: ramapcsx2 Date: Thu, 25 Nov 2010 15:59:33 +0000 Subject: [PATCH] SPU2-X: Fix ADMA not getting read when in spdif bitstream mode (which some games offer for FMVs). This option would cause them to hang indefinitely. There's something wrong with the read audio but at least it doesn't die ;) git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4055 96395faa-99c1-11dd-bbfe-3dabce05a288 --- plugins/spu2-x/src/Mixer.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plugins/spu2-x/src/Mixer.cpp b/plugins/spu2-x/src/Mixer.cpp index d34ac662a..a39b1d70d 100644 --- a/plugins/spu2-x/src/Mixer.cpp +++ b/plugins/spu2-x/src/Mixer.cpp @@ -732,7 +732,10 @@ __forceinline void Mix() StereoOut32 InputData[2] = { // SPDIF is on Core 0: - (PlayMode&4) ? StereoOut32::Empty : ApplyVolume( Cores[0].ReadInput(), Cores[0].InpVol ), + // Fixme: + // 1. We do not have an AC3 decoder for the bitstream. + // 2. Games usually provide a normal ADMA stream as well and want to see it getting read! + /*(PlayMode&4) ? StereoOut32::Empty : */ApplyVolume( Cores[0].ReadInput(), Cores[0].InpVol ), // CDDA is on Core 1: (PlayMode&8) ? StereoOut32::Empty : ApplyVolume( Cores[1].ReadInput(), Cores[1].InpVol )