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

lib_i2s receive specifies const samples, but sometimes we want to do in-place DSP #43

Open
ed-xmos opened this issue Nov 9, 2022 · 0 comments
Labels
type:enhancement New feature or request

Comments

@ed-xmos
Copy link
Contributor

ed-xmos commented Nov 9, 2022

https://github.com/xmos/fwk_io/blob/develop/modules/i2s/api/i2s.h#L116

To keep the compiler happy, we are making a copy. Typically a few bytes and a few cycles but worth changing in a future update.

The use case is where we do far-end DSP in a voice product which requires modifying of the received samples before sending to the application.

@ed-xmos ed-xmos added the type:enhancement New feature or request label Nov 9, 2022
@ed-xmos ed-xmos changed the title lib_i2s received specifies const samples, but sometimes we want to do in-place DSP lib_i2s receive specifies const samples, but sometimes we want to do in-place DSP Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant