docs: update raw audio media type design docs a bit
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 3 Jul 2012 13:59:40 +0000 (14:59 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 3 Jul 2012 14:01:04 +0000 (15:01 +0100)
We now have a layout field and a channel-mask field.

docs/design/part-mediatype-audio-raw.txt

index 4a6d786d0d006d74361c842bb92ce09d2d3dd9d7..1b38f97502d7d8075e5f8fdda6e25acfa3f20099 100644 (file)
@@ -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