[Speex-dev] Speex Decoder doubt
shushantarora09 at gmail.com
Wed Dec 30 06:44:41 UTC 2020
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
2.Is output of speex decoder deterministic, Same encoded packet when
decoded will always give the same result?
3. When I decode a packet containing 5 frames by invoking speex_decode_int 5
times, and then start decoding same packet again, if I start decoding same
packet with call to speex_decoder_destroy, decoder output is same for
second packet as it was for first but if I do not call speex_decoder_destroy
before starting decoding packet for second time output differs from first
output. Why is it so?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Speex-dev