Skip to content

Update rodio and use new realtime flag on android - #25221

Draft
JamJomJim wants to merge 1 commit into
bevyengine:mainfrom
JamJomJim:update-rodio-and-use-realtime
Draft

Update rodio and use new realtime flag on android#25221
JamJomJim wants to merge 1 commit into
bevyengine:mainfrom
JamJomJim:update-rodio-and-use-realtime

Conversation

@JamJomJim

Copy link
Copy Markdown
Contributor

BLOCKED UNTIL NEXT RODIO RELEASE. Should happen in next month or so.

Objective

Dramatically reduce audio latency on android.

Audio on android currently has ~300ms latency due to the aaudio default mode. This is acceptable on some apps, but unacceptable for practically all games.

Solution

Update rodio and use the new realtime feature. realtime passes through to CPAL to do a few things including using AAUDIO_PERFORMANCE_MODE_LOW_LATENCY.

Testing

Tested on real and virtual devices.

@alice-i-cecile alice-i-cecile added A-Audio Sounds playback and modification S-Blocked This cannot move forward until something else changes X-Uncontroversial This work is generally agreed upon labels Jul 30, 2026
@github-project-automation github-project-automation Bot moved this to Needs SME Triage in Audio Jul 30, 2026
@alice-i-cecile alice-i-cecile modified the milestones: 0.19.1, 0.20 Jul 30, 2026
@alice-i-cecile alice-i-cecile added C-Dependencies A change to the crates that Bevy depends on O-Android Specific to the Android mobile operating system labels Jul 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Audio Sounds playback and modification C-Dependencies A change to the crates that Bevy depends on O-Android Specific to the Android mobile operating system S-Blocked This cannot move forward until something else changes X-Uncontroversial This work is generally agreed upon

Projects

Status: Needs SME Triage

Development

Successfully merging this pull request may close these issues.

2 participants