osxaudio: Increase max channels to 64
authorJoe Todd <joextodd@gmail.com>
Tue, 5 Oct 2021 17:07:06 +0000 (18:07 +0100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 8 Nov 2021 18:09:52 +0000 (18:09 +0000)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1059>

subprojects/gst-plugins-good/sys/osxaudio/gstosxcoreaudio.h

index ee88e3c..4319434 100644 (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)