gstreamer/subprojects/gst-plugins-base/gst-libs/gst/audio
Jan Schmidt 8e923a8e2d audiobasesink: Don't wait on gap events
Don't call wait_event() at all for gap events, as basesink will
end up waiting for the time that the gap event would be rendered
out at the audio device. There's no need to render it at all,
just treat it as a handy point to resync the audio if needed,
let the ringbuffer render silence, and place the next buffer
into the ringbuffer where it belongs.

The only thing we really need to do is make sure the ringbuffer
and clock are running, and wait for preroll.

Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/2749

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5953>
2024-01-22 16:09:12 +00:00
..
audio-buffer.c Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
audio-buffer.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
audio-channel-mixer.c audio: channel-mix: Fix channel count limit to be able to equal 64 2023-02-14 11:51:25 +00:00
audio-channel-mixer.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
audio-channels.c Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
audio-channels.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
audio-converter.c audio: Add/fix various annotations 2022-10-18 08:56:58 +00:00
audio-converter.h audioconvert: Add dithering-threshold property 2022-02-25 19:32:28 +00:00
audio-format.c audio-format: Add macro checking for validity of GstAudioFormatInfo 2022-12-12 19:39:10 +00:00
audio-format.h audio-format: Add macro checking for validity of GstAudioFormatInfo 2022-12-12 19:39:10 +00:00
audio-info.c audio: Add/fix various annotations 2022-10-18 08:56:58 +00:00
audio-info.h VideoInfo, AudioInfo: fix usage with python bindings 2022-01-27 08:36:46 +00:00
audio-prelude.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
audio-quantize.c audio-quantize: Switch dither PRNG from LCG to xorshift 2022-02-25 12:41:18 +00:00
audio-quantize.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
audio-resampler-macros.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
audio-resampler-neon.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
audio-resampler-private.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
audio-resampler-x86-sse.c Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
audio-resampler-x86-sse.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
audio-resampler-x86-sse2.c Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
audio-resampler-x86-sse2.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
audio-resampler-x86-sse41.c Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
audio-resampler-x86-sse41.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
audio-resampler-x86.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
audio-resampler.c video-scaler, audio-resampler: downgrade 'can't find exact taps' to debug 2023-09-22 15:47:39 +02:00
audio-resampler.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
audio.c audio: Add/fix various annotations 2022-10-18 08:56:58 +00:00
audio.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
dbesi0.c Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
gstaudioaggregator.c audioaggregator: Make access to the pad list thread-safe while mixing 2023-10-25 14:58:06 +01:00
gstaudioaggregator.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
gstaudiobasesink.c audiobasesink: Don't wait on gap events 2024-01-22 16:09:12 +00:00
gstaudiobasesink.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
gstaudiobasesrc.c audio: Make sure to stop ringbuffer on error 2023-08-21 19:22:53 +01:00
gstaudiobasesrc.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
gstaudiocdsrc.c Replace gst-i18n-*.h with gi18n-lib.h 2022-04-19 18:01:06 +00:00
gstaudiocdsrc.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
gstaudioclock.c Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
gstaudioclock.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
gstaudiodecoder.c core/base: Only post latency messages if the latency values have actually changed 2022-10-27 15:25:22 +00:00
gstaudiodecoder.h audiodecoder: Make data processing errors non-fatal by default 2022-11-30 10:27:50 +00:00
gstaudioencoder.c core/base: Only post latency messages if the latency values have actually changed 2022-10-27 15:25:22 +00:00
gstaudioencoder.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
gstaudiofilter.c audioconvert, audioresample, audiofilter: fix divide by 0 for input buffer without caps 2022-11-26 08:47:49 +00:00
gstaudiofilter.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
gstaudioiec61937.c Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
gstaudioiec61937.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
gstaudiometa.c Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
gstaudiometa.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
gstaudiopack-dist.c Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
gstaudiopack-dist.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
gstaudiopack.orc Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
gstaudioringbuffer.c audioringbuffer: Don't try to map MONO channel 2023-12-09 21:03:51 +00:00
gstaudioringbuffer.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
gstaudiosink.c Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
gstaudiosink.h gst-plugins-base: Fix several annotations 2022-03-16 10:37:44 +00:00
gstaudiosrc.c Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
gstaudiosrc.h gst-plugins-base: Fix several annotations 2022-03-16 10:37:44 +00:00
gstaudiostreamalign.c Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
gstaudiostreamalign.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
gstaudioutilsprivate.c audioenc/dec: Avoid adding temporary structure 2023-01-04 11:09:31 +00:00
gstaudioutilsprivate.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
meson.build meson: Namespace the plugins_doc_dep/libraries variables 2022-09-01 21:17:35 +00:00
streamvolume.c Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
streamvolume.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
TODO Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00