How is data arranged in MapInfo.data?
Sebastian Dröge
sebastian at centricular.com
Mon Feb 22 13:06:01 UTC 2016
On Mo, 2016-02-22 at 13:43 +0100, Christoph Kuhr wrote:
> Hi *,
>
> In my app sink, I want to copy the data provided by new-sample
> callback
> to a non-gstreamer buffer.
> The format of the audio data is S16LE.
> How is the audio data arranged in GstMapInfo.data?
It's 16 bit signed integers, little endian per channel. So you have the
first 16 bit being the first channel, the second 16 bit being the
second, etc. and at some point the first channel again.
--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160222/4814b824/attachment.sig>
More information about the gstreamer-devel
mailing list