search for: packet_result_data_size

Displaying 1 result from an estimated 1 matches for "packet_result_data_size".

2006 Jan 19
0
want to know, how much data will be extracted from every single packet
...s, getting all packets, extracting all of them and getting result datasize using such code: .... if (vorbis_synthesis(&vorb_block,&m_packets[cur_packet_num]) == 0) vorbis_synthesis_blockin(&vorb_dsp_state,&vorb_block); int bout = vorbis_synthesis_pcmout(&vorb_dsp_state,NULL); packet_result_data_size[cur_packet_num] = bout * sizeof(int16) * vorb_info.channels; .... of coz it's very slow, but i can't help to solve that problem so far. what can u say, folks? i dont know why, but vorb_dsp_state.granulepos == -1. i can get granulepos of the current page, but there are many packets in i...