gstreamer/subprojects/gst-plugins-good/sys/osxaudio
Piotr Brzeziński a88eda66d2 osxaudio: Always expose max amount of channels with no positions
For outputs with a high number of channels, macOS has a bug where
initially CoreAudio will report incorrect positions for all channels,
but after you run Audio MIDI Setup and configure the speaker layout
there, macOS will always report those few as positioned, with no option
to revert that (other than deleting some internal files).

In such scenario our code would just ignore all the unpositioned
channels. Since you can only position max. 16 channels in macOS, if you
had more on your output device, those would be unusable.

This commit makes sure that in addition to the usual positioned layout
(if there is one), we will expose caps for a no-positions layout that
always has the maximum amount of channels available.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8311>
2025-01-30 09:53:15 +00:00
..
gstatdec.c
gstatdec.h
gstatenc.c
gstatenc.h
gstiosaudiosession.h osxaudio: Automatically set up AVAudioSession on iOS 2025-01-07 11:55:02 +00:00
gstiosaudiosession.m osxaudio: Automatically set up AVAudioSession on iOS 2025-01-07 11:55:02 +00:00
gstosxaudio.c
gstosxaudiodeviceprovider.c
gstosxaudiodeviceprovider.h
gstosxaudioelement.c
gstosxaudioelement.h
gstosxaudioringbuffer.c
gstosxaudioringbuffer.h
gstosxaudiosink.c osxaudio: Automatically set up AVAudioSession on iOS 2025-01-07 11:55:02 +00:00
gstosxaudiosink.h osxaudio: Automatically set up AVAudioSession on iOS 2025-01-07 11:55:02 +00:00
gstosxaudiosrc.c osxaudiosrc: Work around timestamps on iOS not starting from 0 2025-01-07 11:55:03 +00:00
gstosxaudiosrc.h osxaudio: Automatically set up AVAudioSession on iOS 2025-01-07 11:55:02 +00:00
gstosxcoreaudio.c osxaudio: Always expose max amount of channels with no positions 2025-01-30 09:53:15 +00:00
gstosxcoreaudio.h osxaudiosrc: Work around timestamps on iOS not starting from 0 2025-01-07 11:55:03 +00:00
gstosxcoreaudiocommon.c osxaudiosrc: Fix render callback removal when pausing/stopping 2025-01-07 11:55:03 +00:00
gstosxcoreaudiocommon.h
gstosxcoreaudiohal.c
gstosxcoreaudioremoteio.c osxaudio: Automatically set up AVAudioSession on iOS 2025-01-07 11:55:02 +00:00
meson.build docs: port plugins to explicit sources 2025-01-13 19:17:13 +01:00