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

resample #18

Open
vinnitu opened this issue May 6, 2020 · 1 comment
Open

resample #18

vinnitu opened this issue May 6, 2020 · 1 comment

Comments

@vinnitu
Copy link

vinnitu commented May 6, 2020

Hi!

in sources we have deps/opus/silk/resampler.c
can we wrap this functional to external usage?

I need to get pcm 8000 sample rate after decode opus (even it was 16000 or 24000 berore encoding) and search for solution. It would be great if libopus can do it without external library

@xnorpx
Copy link

xnorpx commented Jul 2, 2020

https://opus-codec.org/docs/opus_api-1.3.1/group__opus__decoder.html#ga753f6fe0b699c81cfd47d70c8e15a0bd

You should be able to create the decoder with fs 8k sample rate to get 8k pcm out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants