search for: pstaudiodriverinterface

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

2014 Jun 24
1
Speex Decoding Issue
...gt;u.spx->dwSampleRate; unsigned int periodMicroSec = (unsigned int) (periodSec * 1000000.0f); // Initialization speex_bits_init(&bits); dec_state = speex_decoder_init(&speex_nb_mode); // Configures the output timer to generate IRQs every <periodMicroSec> microseconds pstAudioDriverInterface->configure_output_timer(periodMicroSec); // Configures the DAC for audio playback pstAudioDriverInterface->configure_dac(pstAudioBuffer->u.spx->dwSampleRate); // Playback loop, for each packet in the List for(idx = 0; idx < pstAudioBuffer->u.spx->dwTotalChunks; idx++)...