Project

General

Profile

Actions

Emulator Issues #7241

closed

HLE Audio plays at 2/3rds speed in Dave Mirra's Pro BMX 2

Added by JMC4789 over 10 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
DSPHLE
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Next
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

Game Name?

Dave Mirra's Pro BMX 2 - GBXE51

What's the problem? Describe what went wrong in few words.

HLE audio plays at the incorrect speed

What did you expect to happen instead?

LLE plays fine. I expected the same of HLE.

What steps will reproduce the problem?
[Don't assume we have ever played the game and know any level names. Be as
specific as possible.]
1.Start game.
2.???
3.???

Dolphin 3.5 and 3.5-367 are old versions of Dolphin that have
known issues and bugs, so don't report issues about them and test the
latest Dolphin version first.
Which versions of Dolphin did you test on?

4.0, 4.0-1474

Does using an older version of Dolphin solve your issue? If yes, which
versions of Dolphin used to work?

no

What are your PC specifications? (including, but not limited to: Operating
System, CPU and GPU)

Core i5 3570K, GTX 760, Windows 7 x64

Are you using the 32 or the 64 bit version of Dolphin?

64bit

Is there any other relevant information? (e.g. logs, screenshots,
configuration files)

Audio Dump - http://www.mediafire.com/download/ciq2zg1278myzni/DaveMirraAudioDump.7z


Related issues 2 (0 open2 closed)

Is duplicate of Emulator - Emulator Issues #7322: Slow audio ingame in various gamecube games when using HLE, LLE audio works fine. (48KHz Issue?)Fixed

Actions
Blocked by Emulator - Emulator Issues #7502: DSP_HLE does not properly support 48000hz modeDuplicatephire

Actions
Actions #1

Updated by tueidj over 10 years ago

If this game is like BMX XXX and Aggressive Inline, the audio interface will be configured to expect 48KHz input from the DSP instead of the usual 32KHz.

Actions #2

Updated by JMC4789 over 10 years ago

NHL Hitz 2002 seems to do the same thing. I really don't feel like making an issue report.

Any idea why this works on LLE but not HLE?

Actions #3

Updated by tueidj over 10 years ago

I'm guessing because HLE wasn't written to accomodate 48KHz output, because in the words of the GC SDK: "Currently, only 32KHz output from the DSP is supported. There are no plans to implement a 48KHz mixer in the DSP." Lies Ninty, lies I say!

Actions #4

Updated by delroth over 10 years ago

AX UCode doesn't really care about sampling frequency. It outputs 5*32 samples at each "tick"/command list sent to it (unless I've missed a weird custom version). It's either a DSP emulation scheduling problem, a HW/DSP issue or an AI issue, in my opinion.

Actions #5

Updated by JMC4789 over 10 years ago

It works in LLE audio though?

Actions #6

Updated by tueidj over 10 years ago

Aggressive Inline writes 160 samples to AI every 3.25ms.
An ordinary AX game (I tested Prince of Persia) writes 160 samples every 5ms.
If the DSP is being run more often it must be resampling to a higher rate, so there is nowhere the fault could be other than in the HLE code.

Actions #7

Updated by tueidj over 10 years ago

That should probably be 3.33ms... sub-millisecond timing is problematic.
AFAICT the ucode in question is the one with ector crc 0x07f88145 (7968 bytes).

Actions #8

Updated by delroth over 10 years ago

  • Milestone changed from Current to Next

Moving to next milestone since these issues are not critical to a new release.

If you feel strongly about this issue and want it to block the next Dolphin release, please assign yourself as owner and re-add Milestone-Current.

Actions #9

Updated by JMC4789 over 10 years ago

  • Status changed from New to Accepted
  • Category set to dsplle

This now happens in LLE audio as well.

Started as of the DTK Audio Rewrite (4.0-1970 -> https://dolphin-emu.org/download/dev/11d304ae29b944b83e9962f2963f6d8556a0aa0f/)

Actions #10

Updated by phire over 10 years ago

  • Category deleted (dsplle)

Now fixed in LLE as of pr #666.

Actions #11

Updated by JMC4789 over 10 years ago

  • Status changed from Accepted to Duplicate
Actions

Also available in: Atom PDF