[Tremor] Help for Packet Extract in Vorbis Decoder

Ravi Lakkundi ravilakkundi at yahoo.co.in
Fri Sep 16 03:49:07 PDT 2005


Hi,

Please help me out, in vorbis_dsp_synthesis if i just
write this loop and use this for packet extraction
after chk for audio packet, will this work ALWAYS? I
have tested this it seems to be working now..
 
Say, lPacket_Buffer is sufficient enough to hold a
packet.

lAddress = op->packet->buffer->data +
op->packet->begin;
for(lIndex = 0;lIndex < op->bytes; lIndex++)
{	
  lPacket_Buffer[lIndex] = *lAddress++;
}

Ravi



		
__________________________________________________________ 
Yahoo! India Matrimony: Find your partner now. Go to http://yahoo.shaadi.com


More information about the Tremor mailing list