Emulator Issues #3447
closed
Spiderman Shattered Dimensions / Star Wars The Force Unleashed 2 - DSP HLE gives slow-sounding audio
Added by gabrielmorano about 14 years ago.
Relates to performance:
No
Relates to maintainability:
No
Description
What steps will reproduce the problem?
- Open "Spiderman Shattered Dimensions" or "Star Wars The Force Unleashed 2"
- Get in game (FMV's does not count as there is sound there, it's gotta be actual gameplay to be noticiable)
- On "Spiderman" you will notice there is no sound at all, no narrations, no music, no sound effects. On "Star Wars" you will notice that there are several sound problems (you will hear the music fine, but the voices tends to go wrong like if turn the pitch all the way down, and barry white's started doing the dialogs :p ... or the voices will be completedly absent)
What is the expected output? What do you see instead?
Well it's not the only 2 games i found out that have audio problems, just that is are the most noticiables I can remember.
What version of the product are you using? On what operating system?
6338 x32 x64
Intel(R) Core2Duo 2.53 2gb
GeForce 8400 gs 512
windows7 x64
The problems you mention with Force Unleashed II are the same problems I have seen in the BMX GC games. The DTK Audio runs fine, but the rest runs at a reduced rate. Based on the Frame Rate indicators when Audio Throttle is on, it appears to be playing at about 66% of the real rate. In other words, about 32kHz instead of the recorded 48kHz.
It seems to me that up-sampling and down-sampling are being done improperly with these games. In other words, sounds that are meant to be played back at the higher speed seem to be played back at the lower speed without being resampled at all. Somehow, this doesn't seem to affect DTK Audio. Seeing as how my coding skills are nearly non-existent, I can only guess at how the functions are working.
I had hoped that the recent changes to audio rate selection and up-sampling would solve this, but it hasn't yet. Admittedly, though, I haven't tried the last couple revisions yet.
If you know how to change code, try this test:
In Source/Core/Core/Src/HW/AudioInterface.cpp, Callback_GetStreaming
Comment out:
_numSamples = _numSamples * 3 / 2;
So that it looks like:
// _numSamples = _numSamples * 3 / 2;
Sorry it took so long to get to this. I've been relying on mamario's builds so far and had to set up VCExpress. (Which I'd been meaning to do for a while...)
The change you suggested didn't have any effect on the output. Audio Throttle still keeps the speed locked to 66%, and the sounds themselves play about that speed, except for the DTK music.
Reporting that issue remains the same on r6880
for "audio is to slow" games try this patch
but there are probably other problems caused by this + we are near release so i'm
not touching mixer (it was tested and working with "All Star Baseball 2004" and
playing xvids/mp3s via WiiMC (wii media player) -> LLE/48kHz)
Tested the patch, and it improved the video playback in the BMX games, but the in-game voices, menu background music, and sound effects are still too slow. :/
- Issue type changed from Other to Other
it's basically the same as b4 ... none real time movies or in game sounds changed :(
Hmm. Just compiled r7539. Somehow, it's working now. Not sure if it was the patch by itself, the most recent change to the HLE side of things, or the combination of the two, but it is working for everything now in the BMX games.
Ookay... I just tested r7514 from mamario's site, and it is working there too? I stand totally confused...
try to test it with games like fatal frame 4... wich tends to have the audio first and the video after
also it's super noticiable on no more heroes 2
if you want to hear barry whites try the force unleashed 2 :p
Hmm. After further testing, the changes in r7511 appear to have fixed the BMX games. I'm not sure about any of the other games listed, as I do not have access to those.
I'm not sure how to get my hands on the patch. Can't see any link here. Can you help me please?
I would love to test it for TV Show King 2 slowdowns, which still occure after many many revisions later (from 7511).
I'm not sure how to get my hands on the patch. Can't see any link here. Can you help me please?
I would love to test it for TV Show King 2 slowdowns, which still occure after many many revisions later (from 7511).
Issue 5509 has been merged into this issue.
- Status changed from New to Questionable
- Issue type set to Bug
Is the issue present in Dolphin 3.5?
I was not testing this for a while, as soon as i get out of work i will chet it and comment
So.. Is this issue present in 3.5? :p
And is it present when using DSP LLE?
Im downloading the game, lost the dvd where it was ^^'
will tell you at night
sorry for the delay
Still Remains for HLE
LLE seems to be working
- Category changed from dsp to dsphle
Could you test 3.5-1155 and report if the bug is fixed or not?
- Status changed from Questionable to Fixed
Both games are fixed in DSP HLE mode (3.5-1344 tested).
Also available in: Atom
PDF