search for: vblock

Displaying 4 results from an estimated 4 matches for "vblock".

Did you mean: block
2003 Sep 11
1
Flushing audio
...for(int i=0;i<vals;i++){ 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);...
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. > > &...
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. > > &...
2013 Aug 18
1
vorbis_info_clear important?
Hi, I'm using a Windows development component which uses vorbis.dll, ogg.dll, vorbisenc.dll for encoding a file. When finishing a recording, the component runs these functions... ogg_stream_clear(OggSS); vorbis_block_clear(VBlock); vorbis_dsp_clear(Vdsp); vorbis_comment_clear(VComm); vorbis_info_clear(VInfo); I'm occasionally receiving a hang in the function vorbis_info_clear(vinfo) which goes to 100% CPU indefinitely. I've tried different compiles of vorbis.dll without success. I've checked the V...