Category : audio-streaming

I am using speex decoder(cpp library LibSpeex) to decode multirame speex packet.I have few queries – 1.When to reset decoder state – After decoding all frames of one packet and before starting decoding the next packet does the decoder must be reset? i.e invoking speex_decoder_destroy(dec_state); before every new packet decoding begins? 2.Is output of speex ..

Read more

I’ve been following the next exemple in order to create a simple synthesizer app: https://codelabs.developers.google.com/codelabs/making-waves-1-synth/#0 but, when I pressed Run, the Build failed. The problematic code is: void AudioEngine::stop() { if (stream_ != nullptr) { AAudioStream_requestStop(stream_); AAudioStream_close(stream_); } } and the error is: undefined reference to ‘AAudioStream_close’ notice that ‘AAudioStream_close’ is exists function: https://developer.android.com/ndk/reference/group/audio If ..

Read more