[vorbis-dev] Can I join many ogg_packet together and decode it to PCM?

Conrad Parker conrad at metadecks.org
Tue Apr 13 15:04:27 PDT 2004



On Wed, Apr 14, 2004 at 08:01:47AM +1000, Kenji Chan wrote:
> Can I join many ogg_packet together and decode it to PCM?
> 
> Or I have to encode each ogg_packet at a time?
> 
> If each packet is 1024 long, can I join 1.5 of packet (1024+512), and decode
> that 1024+512 packet, and then decode the 512 left?
> 
> Or I must decode a whole packet, and can't cut it or decode only some of it
> (not all)

you must decode a whole packet at a time.

Conrad.
--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis-dev mailing list