From: Mike Brady <4265913+mikebrady@users.noreply.github.com> Date: Fri, 13 Jan 2023 15:08:51 +0000 (+0000) Subject: Gremlin fix and comment tidy-up X-Git-Tag: 4.2.1d0~52 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99ca92998e72ca7980df2bb5b5bb04f4beb97515;p=thirdparty%2Fshairport-sync.git Gremlin fix and comment tidy-up --- diff --git a/audio_pa.c b/audio_pa.c index d2478fe7..6299c411 100644 --- a/audio_pa.c +++ b/audio_pa.c @@ -93,10 +93,8 @@ static void connect_stream() { buffer_attr.prebuf = (uint32_t)0; buffer_attr.minreq = (uint32_t)-1; - // Settings copied as per the chromium browser source pa_stream_flags_t stream_flags; stream_flags = PA_STREAM_START_CORKED | PA_STREAM_INTERPOLATE_TIMING | PA_STREAM_NOT_MONOTONIC | - // PA_STREAM_AUTO_TIMING_UPDATE; PA_STREAM_AUTO_TIMING_UPDATE | PA_STREAM_ADJUST_LATENCY; int connect_result; @@ -212,6 +210,7 @@ static int init(__attribute__((unused)) int argc, __attribute__((unused)) char * } pa_threaded_mainloop_unlock(mainloop); + connect_stream(); return 0; }