-
Notifications
You must be signed in to change notification settings - Fork 555
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
[HELP]: About when to display the audio file duration in SoundPlayerUI #703
Comments
I have used the duration function but I don't think it works with tracks. If you have the audio file saved or the link to that file you can pass it to that function. |
Actually there is no call back when Flutter Sound finished the loading of the file. Duration d = flutterSoundHelper.duration(myAudioFile); |
Thanks!! |
We are playing audio in SoundPlayerUI with url.. initially its showing 00:00 / 00:00 .. how can we display audio actual time in SoundPlayerUI widget? |
I am not sure that we can know the duration before starting the playback. |
There is a way for us to know the duration of the audio before starting the playback, I already had to do that once. In issue 743 there is an example of how to do this |
Unfortunately there will not have FULL/LITE in 9.0. |
Thank you for your reply. It will be great help if we have this change. Thank you |
I agree with you. This change would be great. The API would be cleaner. I would like this very much . Personally I would like to start a new project : Taudio and I don't think I can do that if I have important maintenance to do on Flutter Sound. We really need other contributors |
I am going to look for this change this afternoon. I will tell you after if I decide to do this change now and delay the Taudio project |
@Larpoux Thank you very much, that will really a great help. |
I have just decided to delay Taudio during several weeks because I think that this change will be great for Flutter Sound. This will be Flutter Sound 10.x : it will be major breaking changes in the API |
This issue is stale because it has been open 90 days with no activity. Leave a comment or this will be closed in 7 days. |
Here is my question :
First of all, thank you for creating a nice plugin.
What I would like to do this time is to call the fromTrack method of SoundPlayerUI and display how long the audio file is when the track is loaded. Is there any way to do this?
In the current situation, the duration is updated after the play button is pressed, so I want to change it when the track is loaded.
The text was updated successfully, but these errors were encountered: