GNOME Bugzilla – Bug 784680
audio-channels: bindings-friendly positions_from_mask
Last modified: 2018-11-03 11:57:43 UTC
No amount of annotation tweaking seems enough to make gst_audio_channel_positions_from_mask actually introspectable.
Created attachment 355133 [details] [review] audio-channels: bindings-friendly positions_from_mask
Comment on attachment 355133 [details] [review] audio-channels: bindings-friendly positions_from_mask GList is not very bindings friendly either, just look at the GINT_TO_POINTER() hack you're doing there :) How about "GstAudioChannelPosition * gst_audio_channel_positions_array_from_mask(gint channels, guint64 channel_mask, gsize *n_positions)", and annotating "(array length=n_positions)" for the return value?
> How about "GstAudioChannelPosition * > gst_audio_channel_positions_array_from_mask(gint channels, guint64 > channel_mask, gsize *n_positions)", and annotating "(array > length=n_positions)" for the return value? That would indeed look better, if it worked :( I've opened https://bugzilla.gnome.org/show_bug.cgi?id=788890 with a simple test project to reproduce (https://github.com/MathieuDuponchelle/pygobject-enum-array-return)
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/364.