mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-19 19:00:09 +02:00
Audio: adjust UI
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2765 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -331,7 +331,8 @@ void DSP_SendAIBuffer(unsigned int address, int sample_rate)
|
||||
return;
|
||||
}
|
||||
|
||||
if (soundStream->GetMixer())
|
||||
CMixer* pMixer = soundStream->GetMixer();
|
||||
if (pMixer)
|
||||
{
|
||||
short samples[16] = {0}; // interleaved stereo
|
||||
if (address)
|
||||
@ -345,7 +346,7 @@ void DSP_SendAIBuffer(unsigned int address, int sample_rate)
|
||||
//if (log_ai)
|
||||
// g_wave_writer.AddStereoSamples(samples, 8);
|
||||
}
|
||||
soundStream->GetMixer()->PushSamples(samples, 32 / 4);
|
||||
pMixer->PushSamples(samples, 32 / 4);
|
||||
}
|
||||
|
||||
// SoundStream is updated only when necessary (there is no 70 ms limit
|
||||
|
Reference in New Issue
Block a user