[gst-devel] audio/raw vs float
zaheer at grid9.net
zaheer at grid9.net
Mon Mar 19 23:00:14 CET 2001
On 19 Mar 2001, Wim Taymans wrote:
> 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
I agree totally, it is easily extensible and lends itself to be
represented in XML. It is also the most flexible and pragmatic solution
so far described.
Zaheer
More information about the gstreamer-devel
mailing list