[gst-devel] audio/raw float caps format

Leif Johnson leif at ambient.2y.net
Tue Jun 24 14:35:17 CEST 2003


On Tue, 24 Jun 2003, David Schleef wrote:

> On Tue, Jun 24, 2003 at 09:22:22PM +1200, Steve Baker wrote:
> > And as for float audio:
> > I was under the impression that IEEE floats had no endianness issues.
>
> The memory order of floats and doubles is different on PowerPC and
> i386.  AFAIK, true big-endian and true little-endian are the only
> memory orders in use, i.e., no weird DEC-endian analogue bullshit.

I was about to ask if the CPU isn't responsible for interpreting the
endianness itself within an application. But if you're trying to load or
save a binary file full of float data, it would be necessary to know the
endianness then, right ?

> I'd prefer to define our caps policy to include as much as we can
> envision now, and when (not if) that becomes limiting, at least it will
> be farther down the road.

For what it's worth, I agree ...

leif

--
Leif Morgan Johnson : http://ambient.2y.net/leif/




More information about the gstreamer-devel mailing list