gstreamer/subprojects/gst-plugins-base/gst-libs/gst/audio
Jan Schmidt 6053650b85 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/5205>
2023-08-21 08:50:45 +00:00
..
audio-buffer.c libs: audio: drop use of GSlice 2023-01-24 15:25:06 +00: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 gst-plugins-base: re-indent with GNU indent 2.2.12 2023-03-17 03:18:53 +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 libs: audio: drop use of GSlice 2023-01-24 15:25:06 +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 libs: audio: drop use of GSlice 2023-01-24 15:25:06 +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 libs: audio: drop use of GSlice 2023-01-24 15:25:06 +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 libs: audio: drop use of GSlice 2023-01-24 15:25:06 +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 dsd: Add code for DSD audio support 2023-06-23 01:27:03 +00: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-06 05:48:31 +00: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 2023-08-14 14:57:16 +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 08:50:45 +00: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 gst-plugins-base: re-indent with GNU indent 2.2.12 2023-03-17 03:18:53 +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 libs: audio: drop use of GSlice 2023-01-24 15:25:06 +00: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 08:50:45 +00:00
gstaudioringbuffer.h audio: Make sure to stop ringbuffer on error 2023-08-21 08:50:45 +00:00
gstaudiosink.c audiosink: Add support for DSD data 2023-06-23 01:27:04 +00: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
gstdsd.c dsd: Fix documentation parameters 2023-07-11 05:17:55 +00:00
gstdsd.h dsd: Fix documentation parameters 2023-07-11 05:17:55 +00:00
gstdsdformat.c dsd: Fix documentation parameters 2023-07-11 05:17:55 +00:00
gstdsdformat.h audio: Change value of GST_DSD_FORMAT_UNKNOWN to 0 2023-07-05 12:08:33 +00:00
meson.build dsd: Add code for DSD audio support 2023-06-23 01:27:03 +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