[ogg-dev] OggPCM (uncompressed Ogg audio)

Ralph Giles giles at xiph.org
Wed Nov 9 09:31:29 PST 2005


On Wed, Nov 09, 2005 at 05:33:37AM -0800, Arc wrote:

> > Data pages are identified to be part of a logical bitstream through their 
> > serial number, so don't need any additional identifiers. Thus, Arc, I don't 
> > quite understand why you would require another 32 bits at the beginning of 
> > each data packet, when ogg pages are already covering that information?
> 
> I am open to eliminating it, if it can be shown that the act of reading or 
> skipping this data complicates implementation or makes it less efficient, 
> however, the decidion to do so should include several people (Monty, Ralph, etc) 
> who haven't joined this discussion yet.

I agree with Silvia here. The initial-octet packet type flagging is nice 
in vorbis and theora because there are a number of headers to 
distinguish, and you have to bit-unpack everything starting at the 
packet boundary anyway. PCM is just PCM, so I think having just the raw 
data in the data packets is better.

> > As for the information that goes into the bos page, I can see at least an 
> > endianness indicator missing.

We should think about float support too.

 -r


More information about the ogg-dev mailing list