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

Oboe: use Unprocessed preset for input streams #888

Closed
wants to merge 1 commit into from

Conversation

Skilvingr
Copy link

Hi, I'm currently using cpal in an Android application and everything seems to work well.

However, I've noticed that this crate lacks support for Oboe's InputPresets, which is quite an important thing for certain projects. At the moment the default preset is VoiceRecognition.

It would be great if one could choose the best preset when building the stream, but that would require either to change the signature of the function (making not adhere anymore to the relative trait), or to set this preset within a static config variable, or something similar.

In the meantime I think it would make sense to use Unprocessed preset, which does not apply any effect, making the user able to obtain full control over the stream.

@Skilvingr Skilvingr closed this May 22, 2024
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

Successfully merging this pull request may close these issues.

1 participant