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

How to build only SILK part of Opus codec for low-level use (such as encode_pulses, decode_pulses) #276

Open
Ori248 opened this issue Apr 24, 2023 · 1 comment

Comments

@Ori248
Copy link

Ori248 commented Apr 24, 2023

Hello. I'm trying to implement a certain scheme that requires a low level use of the Opus codec, specifically the SILK part of it. Even more specifically, it requires use of encode_pulses.c and decode_pulses.c. In addition, I need this part to be compiled into a shared object file (.so file), so that I can call these functions from my Python script. When I follow the build instructions given in the Opus GitHub, I get the shared file "libopus.so", and when I view the list of functions in it, it doesn't contain the desired low-level functionaliy I need. My question is, is there an option to build a specific part of the Opus codec, so that low-level functionality can be used directly from a Python script using ctypes? Thanks in advance

@xnorpx
Copy link
Contributor

xnorpx commented Jul 5, 2023

No, you would need to create your own shared object (dll/so) and export what you need.

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

2 participants