mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2025-07-03 16:25:54 +00:00
Disable arbitrary audio duration for libsoundio until further testing is done
This commit is contained in:
parent
09cf105cdc
commit
3a6bf4d20b
@ -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…
x
Reference in New Issue
Block a user