gstreamer/subprojects/gst-plugins-good/sys/osxaudio
Piotr Brzeziński 477beab403 osxaudio: Avoid using private APIs on iOS
Turns out AudioConvertHostTimeToNanos and AudioGetCurrentHostTime are macOS-only APIs, which prevents apps using
GStreamer on iOS from being accepted into App Store.

This commit replaces those functions with a manual version of what they do - mach_absolute_time() for the current time,
and data from mach_timebase_info() at the beginning to convert host timestamps to nanoseconds.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6789>
2024-05-22 08:58:24 +00:00
..
gstatdec.c atdec: Handle channel counts greater than 2 2024-04-05 06:54:24 +00:00
gstatdec.h atdec: Handle channel counts greater than 2 2024-04-05 06:54:24 +00:00
gstatenc.c gst: Move GstQueueArray as GstVecDeque to core 2024-05-06 18:25:42 +00:00
gstatenc.h gst: Move GstQueueArray as GstVecDeque to core 2024-05-06 18:25:42 +00:00
gstosxaudio.c macos: Add Apple AAC encoder (atenc) 2024-03-12 19:50:06 +00:00
gstosxaudiodeviceprovider.c osxaudio: add individual elements registration for gst-full compatibility 2023-09-28 21:44:48 +00:00
gstosxaudiodeviceprovider.h osxaudio: add individual elements registration for gst-full compatibility 2023-09-28 21:44:48 +00:00
gstosxaudioelement.c osxaudio: Document GstOsxAudioElement interface 2022-01-30 03:58:42 +05:30
gstosxaudioelement.h Move files from gst-plugins-good into the "subprojects/gst-plugins-good/" subdir 2021-09-24 16:13:50 -03:00
gstosxaudioringbuffer.c osxaudio: Attempt to configure the segment size in CoreAudio 2023-08-07 21:33:45 +00:00
gstosxaudioringbuffer.h Move files from gst-plugins-good into the "subprojects/gst-plugins-good/" subdir 2021-09-24 16:13:50 -03:00
gstosxaudiosink.c osxaudio: add individual elements registration for gst-full compatibility 2023-09-28 21:44:48 +00:00
gstosxaudiosink.h osxaudio: add individual elements registration for gst-full compatibility 2023-09-28 21:44:48 +00:00
gstosxaudiosrc.c osxaudio: add individual elements registration for gst-full compatibility 2023-09-28 21:44:48 +00:00
gstosxaudiosrc.h osxaudio: add individual elements registration for gst-full compatibility 2023-09-28 21:44:48 +00:00
gstosxcoreaudio.c osxaudio: Avoid using private APIs on iOS 2024-05-22 08:58:24 +00:00
gstosxcoreaudio.h osxaudio: Avoid using private APIs on iOS 2024-05-22 08:58:24 +00:00
gstosxcoreaudiocommon.c osxaudio: add mapping for top/left/right surround channels 2024-02-20 08:03:15 +00:00
gstosxcoreaudiocommon.h osxaudio: Avoid using private APIs on iOS 2024-05-22 08:58:24 +00:00
gstosxcoreaudiohal.c osxaudio: Share debug category in the internal coreaudio object 2023-08-07 21:33:45 +00:00
gstosxcoreaudioremoteio.c Move files from gst-plugins-good into the "subprojects/gst-plugins-good/" subdir 2021-09-24 16:13:50 -03:00
meson.build macos: Add Apple AAC encoder (atenc) 2024-03-12 19:50:06 +00:00