<div dir="ltr"><div dir="ltr">Hi <div><br><div>I am using speex decoder(cpp library LibSpeex) to decode multirame speex packet.I have few queries - </div><div><br></div><div>1.When to reset decoder state - </div><div>After decoding all frames of one packet and before starting decoding the next packet does the decoder must be reset?</div></div><div>i.e invoking <span style="color:rgb(0,0,0)">speex_decoder_destroy(dec_state); before every new packet decoding begins?</span></div><p style="color:rgb(0,0,0)"></p><br style="color:rgb(0,0,0)"><div>2.Is output of speex decoder deterministic, Same encoded packet when decoded will always give the same result?</div><div>3. When I decode a packet containing 5 frames by invoking <span style="color:rgb(0,0,0);font-size:medium">speex_decode_int </span><span style="color:rgb(0,0,0);font-family:-webkit-standard;font-size:medium">5 times, and then start decoding same packet again, if I start decoding same packet with call to </span><span style="color:rgb(0,0,0);font-size:medium"> </span><span style="color:rgb(0,0,0);font-family:-webkit-standard;font-size:medium">speex_decoder_destroy, decoder output is same for second packet as it was for first but if I do not call </span><span style="color:rgb(0,0,0);font-family:-webkit-standard;font-size:medium">speex_decoder_destroy before starting decoding packet for second time output differs from first output. Why is it so? </span></div><div><span style="color:rgb(0,0,0);font-family:-webkit-standard;font-size:medium"><br></span></div><div><span style="color:rgb(0,0,0);font-family:-webkit-standard;font-size:medium">Thanks</span></div></div></div>