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 Set Sample Rate to 48000 in Oboe While Ensuring Low Latency? #2141

Open
tuananhdtu opened this issue Jan 22, 2025 · 0 comments
Open
Labels

Comments

@tuananhdtu
Copy link

I am using Oboe for voice recording while simultaneously playing an MP3 file. The MP3 file is mixed with the inputData from Oboe to play music. The sample rate for MP3 playback is determined based on the device's supported sample rate, not the headphones. My device supports a maximum sample rate of 48000, but the headphones connected to the device can support up to 96000. Currently, Oboe prioritizes the highest sample rate available, especially in low-latency mode. I would like to configure the sample rate to 48000 to ensure compatibility and consistency in audio processing, regardless of the headphones' capabilities.

@tuananhdtu tuananhdtu added the bug label Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant