-
Notifications
You must be signed in to change notification settings - Fork 18
Repeat sound #26
Comments
I see that you type a comment in stop i should load file again and i do that and it work , thank you for your effort in this plugin |
I face issue when call play sound in listen of stream the app crash and don't get any error, all i want to do is to repeat sound , any help please |
i solve it by timer and provider , but i wish you can add function for repeat without load file again |
sometimes get same error and lost connection without any debug message |
I solve it by making the object of audioplayer in singleton and access it with it , i don't know why it working only when i use singleton for the object |
Hi there @Elblassy ! I know I'm very late to reply on this, apologies. But this issue is under progress in the vnext now. Now, one can listen to playback events, which will help me add things like playlists, looping etc. Windows implementation coming real soon. Issue #25 is exactly same as this issue. So, let's target this issue there. Greetings 🍀 |
HOw did you pull it off with timer and provider? I have a weird situation as follows below where I can't seem to get it to play after song stops, yet it i click Play on player it works again calling same code? Strange it almost seems like it needs a pause of a second or 2, I'll keep trying...
|
Just for reference this is audioStart: audioStart() async {
} |
I got it to work, it needs a timeout for whatever reason after it returns completed, I changed and everything works now, not sure why.... |
miniaudio itself has default behaviour of repeating the sound. It is actually intentionally removed by me, so that I can get a bit more control over the playback & stream. I'm not familiar with advanced Dart like rx etc. So, that's also might be bit of problem in how things are right now. |
You are supposed to class load again, once the audio completes (then, play would work). You can listen to Currently ,everything is just shown to be functional & working to use. I'm not sure about any behaviour etc., I might change if people say. |
A side note after seeing your code.
@syleishere... This whole issue is being taken care of at #25. |
Oww ok good to know, I was just checking status of isCompleted on stream so I could detect when song finishes so I could continue playing next song I was thinking for a playlist. My goal here is just to select a folder and have it play every song in it for time being, what is ETA on your queue system you figure if your going to implement that? |
I don't really spend too much of my time on this plugin, I have other projects I am more interested in. I'm not building any profit by doing this. This plugin is literally one of the first plugins ever made for Windows or Linux (others are from Flutter team itself), so it takes time to figure it all up. |
You can ping me on Discord at alexmercerind#3898, I'm not really having fun in issue threads. |
I try to repeat sound by listen when sound end and play it again but it can't , so how can i repeat sound
The text was updated successfully, but these errors were encountered: