mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-17 14:11:33 +00:00
Disable arbitrary audio duration for libsoundio until further testing is done
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user