search for: ogg_pkt

Displaying 3 results from an estimated 3 matches for "ogg_pkt".

2004 Aug 06
0
No subject
vorbis_analysis(&vblock, &ogg_pkt). Then, your ogg_pkt contains one ogg packet - that's just the raw vorbis data. ogg_pkt.packet, of length ogg_pkt.bytes. You'll need to recreate some of the framing information in ogg - but not all of it. See the vorbis-over-RTP drafts for one way to do this. > > > You might...
2004 Aug 06
0
No subject
vorbis_analysis(&vblock, &ogg_pkt). Then, your ogg_pkt contains one ogg packet - that's just the raw vorbis data. ogg_pkt.packet, of length ogg_pkt.bytes. You'll need to recreate some of the framing information in ogg - but not all of it. See the vorbis-over-RTP drafts for one way to do this. > > > You might...
2003 Sep 11
1
Flushing audio
...buffer[0][i] = ((buf[i*2 + 1] << 8) | (0x00ff & (int) buf[i*2])) / 32768.f; } vorbis_analysis_wrote(&dsp_state, vals); while(vorbis_analysis_blockout(&dsp_state, &vblock) == 1){ ogg_packet ogg_pkt; vorbis_analysis(&vblock, &ogg_pkt); ogg_stream_packetin(&ogg_stream, &ogg_pkt); while(1){ int result = ogg_stream_flush(&ogg_stream, &page);...