search for: pstchunklist

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

2014 Jun 24
1
Speex Decoding Issue
...erInterface->configure_dac(pstAudioBuffer->u.spx->dwSampleRate); // Playback loop, for each packet in the List for(idx = 0; idx < pstAudioBuffer->u.spx->dwTotalChunks; idx++) { speex_bits_reset(&bits); speex_bits_read_from(&bits, pstAudioBuffer->u.spx->pstChunkList[idx]->pbyBuffer, pstAudioBuffer->u.spx->pstChunkList[idx]->dwChunkSize); while(speex_decode_int(dec_state, &bits, output_frame) != -1); // Sends each decoded sample to the DAC at the specified TIMER IRQ period pstAudioDriverInterface->write_buffer(output_frame, sizeof...