Disable arbitrary audio duration for libsoundio until further testing is done

This commit is contained in:
Cameron Gutman 2019-12-03 19:00:43 -08:00
parent 09cf105cdc
commit 3a6bf4d20b

View File

@ -301,7 +301,8 @@ bool SoundIoAudioRenderer::submitAudio(int bytesWritten)
int SoundIoAudioRenderer::getCapabilities()
{
return CAPABILITY_DIRECT_SUBMIT | CAPABILITY_SUPPORTS_ARBITRARY_AUDIO_DURATION;
// TODO: Tweak buffer sizes then re-enable arbitrary audio duration
return CAPABILITY_DIRECT_SUBMIT /* | CAPABILITY_SUPPORTS_ARBITRARY_AUDIO_DURATION */;
}
void SoundIoAudioRenderer::sioErrorCallback(SoundIoOutStream* stream, int err)