Disable arbitrary audio duration for libsoundio until further testing is done
This commit is contained in:
parent
09cf105cdc
commit
3a6bf4d20b
1 changed files with 2 additions and 1 deletions
|
|
@ -301,7 +301,8 @@ bool SoundIoAudioRenderer::submitAudio(int bytesWritten)
|
||||||
|
|
||||||
int SoundIoAudioRenderer::getCapabilities()
|
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)
|
void SoundIoAudioRenderer::sioErrorCallback(SoundIoOutStream* stream, int err)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue