search for: m_packets_number

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

2006 Jan 19
0
re: want to know, how much data will be extracted from every single packet; solved but some issues
...? ? ? cur = vorbis_packet_blocksize(&m_vorb_info, &m_packets[cur_packet_num]); ? ? ? if ( cur <= 0 ) ? ? ? ? ?m_packets_real_lengths[cur_packet_num] = 0; ? ? ? else ? ? ? { ? ? ? ?if (prev == 0 ) ? ? ? ? prev = cur; ? ? ? if (cur_packet_num > 3 && cur_packet_num < m_packets_number - 1) ? ? ? { ? ? ? ? m_packets_real_lengths[cur_packet_num] = cur + prev; ? ? ? ? m_data_size += m_packets_real_lengths[cur_packet_num]; ? ? ? } ? ? ? else ? ? ? ? m_packets_real_lengths[cur_packet_num] = 0; ? ? ? ?prev = cur; ? ?} But not so easy. We must begin loop where cur_packet_num &...