[Bug 751605] audio: Add proper support for non-interleaved / planar audio

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sun May 6 13:39:31 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=751605

--- Comment #22 from George Kiagiadakis <gkiagia at tolabaki.gr> ---
(In reply to Sebastian Dröge (slomo) from comment #19)
> @@ +62,3 @@
> +
> +  gpointer _gst_reserved[GST_PADDING];
> +} GstAudioBuffer;
> 
> Should some macros be added here already? For getting the audio info,
> getting the data of the n-th channel, accessors for the audio info fields
> too maybe?

Hmm, GstAudioBuffer doesn't contain the GstAudioInfo.... I was just thinking,
maybe it is useful to have it there (like in GstVideoFrame). However, this
information will only be available to the map function if the GstBuffer
contains a GstAudioMeta, so it's not a very reliable source of information. The
other case is to pass it to the map function, but that only complicates the
work that the caller needs to do, for no good reason (there is no use case).

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list