search for: vorb_info

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

Did you mean: vorbis_info
2006 Jan 19
0
want to know, how much data will be extracted from every single packet
...atasize 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 it, so it's almost useless. granulepos in the end...