[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 2/7] paaudio: remove unused stream flags
From: |
Gerd Hoffmann |
Subject: |
[PULL 2/7] paaudio: remove unused stream flags |
Date: |
Thu, 17 Jun 2021 14:41:02 +0200 |
From: Volker RĂ¼melin <vr_qemu@t-online.de>
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>
---
audio/paaudio.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/audio/paaudio.c b/audio/paaudio.c
index c97b22e970d8..14b4269c5500 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 */
--
2.31.1
- [PULL 0/7] Audio 20210617 patches, Gerd Hoffmann, 2021/06/17
- [PULL 2/7] paaudio: remove unused stream flags,
Gerd Hoffmann <=
- [PULL 1/7] alsaaudio: remove #ifdef DEBUG to avoid bit rot, Gerd Hoffmann, 2021/06/17
- [PULL 3/7] audio: move code to audio/audio.c, Gerd Hoffmann, 2021/06/17
- [PULL 5/7] hw/audio/sb16: Avoid assertion by restricting I/O sampling rate range, Gerd Hoffmann, 2021/06/17
- [PULL 4/7] jackaudio: avoid that the client name contains the word (NULL), Gerd Hoffmann, 2021/06/17
- [PULL 6/7] audio: Fix format specifications of debug logs, Gerd Hoffmann, 2021/06/17
- [PULL 7/7] coreaudio: Fix output stream format settings, Gerd Hoffmann, 2021/06/17
- Re: [PULL 0/7] Audio 20210617 patches, no-reply, 2021/06/17
- Re: [PULL 0/7] Audio 20210617 patches, Peter Maydell, 2021/06/18