osxaudio: Increase max channels to 64

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1059>
This commit is contained in:
Joe Todd 2021-10-05 18:07:06 +01:00 committed by GStreamer Marge Bot
parent d4bcff7dab
commit a0df14f36b

View file

@ -63,8 +63,7 @@ G_BEGIN_DECLS
#define GST_IS_CORE_AUDIO_CLASS(klass) \
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_CORE_AUDIO))
/* TODO: Consider raising to 64 */
#define GST_OSX_AUDIO_MAX_CHANNEL (9)
#define GST_OSX_AUDIO_MAX_CHANNEL (64)
#define CORE_AUDIO_FORMAT_IS_SPDIF(f) ((f).mFormat.mFormatID == 'IAC3' || (f).mFormat.mFormatID == 'iac3' || (f).mFormat.mFormatID == kAudioFormat60958AC3 || (f).mFormat.mFormatID == kAudioFormatAC3)