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
Flutter 3.10.5 Platform : iOS or macos
when use this code ,it's ok,the sound is ok.
AssetsAudioPlayer audioPlayer = AssetsAudioPlayer(); await audioPlayer.open( Audio("assets/s.mp3"), autoStart: false, ); audioPlayer.play();
When i use this ,let it auto play ,the sound becomes muffled
AssetsAudioPlayer audioPlayer = AssetsAudioPlayer(); audioPlayer.open( Audio("assets/s.mp3"), );
s.mp3 is the sound of a drum,relatively short you can download the s.mp3 file to assets folder and test. https://github.com/butoften/assets/blob/main/s.mp3
thanks
The text was updated successfully, but these errors were encountered:
Does it make a difference if you await open() in the second version?
open()
Sorry, something went wrong.
florent37
No branches or pull requests
Flutter 3.10.5
Platform : iOS or macos
when use this code ,it's ok,the sound is ok.
When i use this ,let it auto play ,the sound becomes muffled
s.mp3 is the sound of a drum,relatively short
you can download the s.mp3 file to assets folder and test.
https://github.com/butoften/assets/blob/main/s.mp3
thanks
The text was updated successfully, but these errors were encountered: