diff options
author | Volker RĂ¼melin <vr_qemu@t-online.de> | 2021-05-17 21:46:02 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2021-06-17 11:54:09 +0200 |
commit | 50db82d84ce24e893932ecb1aa90cc9c5560fc91 (patch) | |
tree | 09d26d1ae2c0b23a96902d7214911ddcc0fac4e0 | |
parent | 243011896ad2503e515b4fed746402e651b8e520 (diff) |
paaudio: remove unused stream flags
In current code there are no calls to pa_stream_get_latency()
or pa_stream_get_time() to receive latency or time information.
Remove the flags PA_STREAM_INTERPOLATE_TIMING and
PA_STREAM_AUTO_TIMING_UPDATE which instruct PulseAudio to
calculate this information in regular intervals.
Signed-off-by: Volker RĂ¼melin <vr_qemu@t-online.de>
Message-Id: <20210517194604.2545-2-vr_qemu@t-online.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
-rw-r--r-- | audio/paaudio.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/audio/paaudio.c b/audio/paaudio.c index c97b22e970..14b4269c55 100644 --- a/audio/paaudio.c +++ b/audio/paaudio.c @@ -463,10 +463,7 @@ static pa_stream *qpa_simple_new ( pa_stream_set_state_callback(stream, stream_state_cb, c); - flags = - PA_STREAM_INTERPOLATE_TIMING - | PA_STREAM_AUTO_TIMING_UPDATE - | PA_STREAM_EARLY_REQUESTS; + flags = PA_STREAM_EARLY_REQUESTS; if (dev) { /* don't move the stream if the user specified a sink/source */ |