Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mulzhang opened this issue Jul 23, 2023 · 0 comments
Open

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

mulzhang opened this issue Jul 23, 2023 · 0 comments

Comments

@mulzhang
Copy link

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!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant