I can not get audio duration event after audio is loaded, only after i call the play() function and a little bit later, can i get the duration, before that, the audio.duration property is 0 or -1.
is this a bug or I missed something?
above I used a very ugly way to get the duration, set a timer, and play with no sound until I get the duration string.
I got some problem to retrieve audio length from qml Audio component, I use the example code below:
is this a bug or I missed something?
above I used a very ugly way to get the duration, set a timer, and play with no sound until I get the duration string.
Last edited by nilsLee; 2012-09-11 at 17:07.