-
Notifications
You must be signed in to change notification settings - Fork 54
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
Sped up audio on the web in the first seconds #27
Comments
I have observed that, too. So far I thought this is a general problem of this plugin in the browser (see #9). I have never noticed it in a native build. I will see if |
I have observed this less with Bevy 0.7, is it also better for you now? |
I'm seeing something that seems related (Bevy 0.7). The first few seconds of my audio are "crackly" before stabilizing. Seems to be the case in Chrome, Firefox, and Safari 🤔. It does seem to be performance related... if I don't setup a camera, so there's nothing for the browser to render, the audio plays fine. Here's the branch where I'm experimenting https://github.com/shnewto/limbo_pass/tree/wasm-kira |
edit 2: I've been unable to reproduce the things I thought I was seeing when I used rodio, today using rodio the audio is still plenty crackly. |
The problem still occurs with |
On the web build of my game, the audio is sped up in the first few seconds on Vivaldi.
Steps to reproduce:
I have used
bevy_asset_loader
to load my BGMs and SFXs in another state.In the title state,
Handle<AudioSource>
-s should be ready and I just callaudio.play_looped(songs.title.clone());
on state enter. (loading, audio played)The text was updated successfully, but these errors were encountered: