mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
OSX build fix
This commit is contained in:
parent
91fe5cc821
commit
8494a439c7
3 changed files with 6 additions and 6 deletions
|
@ -199,7 +199,7 @@ void OpenALStream::SoundLoop()
|
|||
if (rate > 0)
|
||||
{
|
||||
// Adjust SETTING_SEQUENCE_MS to balance between lag vs hollow audio
|
||||
soundTouch.setSetting(SETTING_SEQUENCE_MS, (int)pow(1 / rate, 2));
|
||||
soundTouch.setSetting(SETTING_SEQUENCE_MS, (int)(1 / (rate * rate)));
|
||||
soundTouch.setTempo(rate);
|
||||
}
|
||||
unsigned int nSamples = soundTouch.receiveSamples(sampleBuffer, OAL_MAX_SAMPLES * 2 * OAL_NUM_BUFFERS);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue