mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-18 17:12:39 +00: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:
parent
13ddd0648b
commit
c4f7c95fec
3 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue