From 394afbbc5b9b93452a793866c65bf94001708908 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Tue, 3 Jul 2012 14:59:40 +0100 Subject: [PATCH] docs: update raw audio media type design docs a bit We now have a layout field and a channel-mask field. --- docs/design/part-mediatype-audio-raw.txt | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/docs/design/part-mediatype-audio-raw.txt b/docs/design/part-mediatype-audio-raw.txt index 4a6d786d0d..1b38f97502 100644 --- a/docs/design/part-mediatype-audio-raw.txt +++ b/docs/design/part-mediatype-audio-raw.txt @@ -13,9 +13,15 @@ Media Types channels, G_TYPE_INT, mandatory The number of channels - channel-positions, G_TYPE_VALUE_ARRAY - An array with a channel position for each channel. The number of items in - this array must be the same as the channels property. + channel-mask, GST_TYPE_BITMASK, mandatory for more than 2 channels + Bitmask of channel positions present. May be omitted for mono and + stereo. May be set to 0 to denote that the channels are unpositioned. + + layout, G_TYPE_STRING, mandatory + The layout of channels within a buffer. Possible values are + "interleaved" (for LRLRLRLR) and "non-interleaved" (LLLLRRRR) + +Use GstAudioInfo and related helper API to create and parse raw audio caps. Metadata