Create the initial PulseAudio stream corked

This commit is contained in:
Chris Robinson
2019-10-09 09:42:35 -07:00
parent 404f3e2d08
commit 57cdac3368
+2 -1
View File
@@ -814,7 +814,8 @@ void PulsePlayback::open(const ALCchar *name)
mContext = connect_context(plock);
pa_stream_flags_t flags{PA_STREAM_FIX_FORMAT | PA_STREAM_FIX_RATE | PA_STREAM_FIX_CHANNELS};
pa_stream_flags_t flags{PA_STREAM_START_CORKED | PA_STREAM_FIX_FORMAT | PA_STREAM_FIX_RATE |
PA_STREAM_FIX_CHANNELS};
if(!GetConfigValueBool(nullptr, "pulse", "allow-moves", 1))
flags |= PA_STREAM_DONT_MOVE;