Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AudioInterface: Fix AIDFR initialization #9788

Merged
merged 1 commit into from Jun 13, 2021

Conversation

sepalani
Copy link
Contributor

@sepalani sepalani commented Jun 6, 2021

AIDFR was initialised with the value 0 (AID_48KHz) which doesn't match what it does a few lines below:

s_aid_sample_rate = Get32KHzSampleRate();

This fixes libogc AUDIO_Init function taking the AI_SAMPLERATE_48KHZ route on Dolphin while it doesn't on real hardware.

It doesn't seem to fix what I was looking for, except the timing of some of my hardware tests.

Ready to be reviewed & merged.

@leoetlino leoetlino merged commit 0cc1fc3 into dolphin-emu:master Jun 13, 2021
11 checks passed
@JMC47
Copy link
Contributor

JMC47 commented Jun 13, 2021

This breaks a bunch of Naruto games.

@DatEmulationGuy
Copy link

DatEmulationGuy commented Jun 15, 2021

The GameCube game Eternal Darkness is freezing in the Edgar poem when I start the game in every build after this. 14418 build worked

Edit: 14431 build makes the game work past this part

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants