mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-28 14:02:38 +00: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:
parent
d7038fea17
commit
fff663e8c7
35 changed files with 386 additions and 619 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue