gstreamer/subprojects/gst-plugins-base/gst-libs/gst/audio
Jan Schmidt df9482f39b audio: Make sure to stop ringbuffer on error
Add gst_audio_ring_buffer_set_errored() that will mark the
ringbuffer as errored only if it is currently started or paused,
so gst_audio_ringbuffer_stop() can be sure that the error
state means that the ringbuffer was started and needs stop called.

Fixes a crash with osxaudiosrc if the source element posts
an error, because the ringbuffer would not get stopped and CoreAudio
would continue trying to do callbacks.

Also, anywhere that modifies the ringbuffer state, make sure to
use atomic operations, to guarantee their visibility

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5216>
2023-08-21 19:22:53 +01: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 audio: Add/fix various annotations 2022-10-18 08:56:58 +00: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 bad: audioaggregator: Do not post message before being constructed 2023-07-10 19:00:49 +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 audio: Add/fix various annotations 2022-10-18 08:56:58 +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 audio: Make sure to stop ringbuffer on error 2023-08-21 19:22:53 +01: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