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

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed May 23 11:44:16 UTC 2018


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

--- Comment #33 from George Kiagiadakis <gkiagia at tolabaki.gr> ---
(In reply to Sebastian Dröge (slomo) from comment #32)
> Ah then I misunderstood. But then this is redudant or not? That's simply
> n_samples*width/8, and could just move that calculation into a macro instead
> of storing it.

It's different for non-interleaved & interleaved

- non-interleaved:
n_planes = N
plane_size = n_samples * width/8

- interleaved:
n_planes = 1
plane_size = n_samples * width/8 * channels

-- 
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