speex icon indicating copy to clipboard operation
speex copied to clipboard

Real-time conversion pcm problem of voice stream in speex format

Open mulzhang opened this issue 2 years ago • 0 comments

I now have a need to obtain the voice stream in speex format in real time, sampleRate: 16000, channelCount: 1, read a byte with a fixed length of 300 and call Decode to convert pcm, but audio data loss and noise appear in the pcm file after conversion.

  1. May I ask how much length of byte conversion should I set?
  2. When inputting different byte lengths, an error message appears, for example: More than two wideband layers found. What parameters do I need to adjust? I hope you can help me solve this problem as soon as possible, I wish you a happy life, thank you!

mulzhang avatar Jul 23 '23 14:07 mulzhang