We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I want to play a sound multiple times in a second, and is playing only once and getting: D/AudioManager( 7529): dispatching onAudioFocusChange(-1) to android.media.AudioManager@181a27axyz.luan.audioplayers.player.FocusManager$$ExternalSyntheticLambda0@6459b34 This is the sound: https://github.com/bluefireteam/audioplayers/assets/61739438/8f66177c-bb23-4474-91ff-1242f9922967
Thanks!
Play a short sound multiple times in a second
flutter run
void main() { }
Android
No response
main 5.2.1
debug
my relevant logs
my full logs or a link to a gist
Flutter doctor:
Output of: flutter doctor -v
no way
The text was updated successfully, but these errors were encountered:
Did you try AudioPool? Also not quite sure if, mov is supported, but could be.
Sorry, something went wrong.
I ran into the same problem. My issue was fixed when I added player.setReleaseMode(ReleaseMode.stop);
player.setReleaseMode(ReleaseMode.stop);
right after setting the source of the player. Unfortunately I cannot see your example code if this might be same for you
No branches or pull requests
Checklist
Current bug behaviour
I want to play a sound multiple times in a second, and is playing only once and getting:
D/AudioManager( 7529): dispatching onAudioFocusChange(-1) to android.media.AudioManager@181a27axyz.luan.audioplayers.player.FocusManager$$ExternalSyntheticLambda0@6459b34
This is the sound:
https://github.com/bluefireteam/audioplayers/assets/61739438/8f66177c-bb23-4474-91ff-1242f9922967
Thanks!
Expected behaviour
Play a short sound multiple times in a second
Steps to reproduce
flutter run
on the code sampleCode sample
Code sample
Affected platforms
Android
Platform details
No response
AudioPlayers Version
main 5.2.1
Build mode
debug
Audio Files/URLs/Sources
beep.mov
Screenshots
No response
Logs
Full Logs
Flutter doctor:
Related issues / more information
No response
Working on PR
no way
The text was updated successfully, but these errors were encountered: