mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Attempt to move mixer to audio common, it's a bit more complicated than I expected
so please check I didn't break anything in hle git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2756 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -417,7 +417,7 @@ void Hacks()
|
||||
}
|
||||
} */
|
||||
|
||||
if (g_dsp.pc == 0x468)
|
||||
/* if (g_dsp.pc == 0x468)
|
||||
{
|
||||
int numSamples = g_dsp.r[25] / 2;
|
||||
uint16 bufferAddr = g_dsp.r[27];
|
||||
@ -429,7 +429,7 @@ void Hacks()
|
||||
{
|
||||
samples[i] = dsp_dmem_read(bufferAddr+i);
|
||||
}
|
||||
Mixer_PushSamples(samples, numSamples / 2, 32000); //sample_rate);
|
||||
PushSamples(samples, numSamples / 2, 32000); //sample_rate);
|
||||
|
||||
g_wave_writer.AddStereoSamples(samples, numSamples/2); // 2 channels
|
||||
|
||||
@ -439,5 +439,5 @@ void Hacks()
|
||||
g_wave_writer.Stop();
|
||||
exit(1);
|
||||
}
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
Reference in New Issue
Block a user