[gst-devel] audio/raw vs float

Wim Taymans wim.taymans at chello.be
Mon Mar 19 20:05:04 CET 2001


On 19 Mar 2001 17:26:27 +0100, Wim Taymans wrote:
> > channels - The number of channels of audio data. 
> 
> What about this:
> 
>   audio/raw
>    "subtype", "float32_foo_bar"
>    "rate"
>    ....
> 

hmm, even better:

 "audio/raw"
  "format", "float",
  "layout", "IEEE"
...


  "audio/raw"
   "format", "int",
   "signed", true,
   "endian", "little"
...

format is the subtype because it defines what other properties
are allowed next. Think of it as an hierarchy or a union with
a type to denote the contents...

Wim





More information about the gstreamer-devel mailing list