How can I show progressBar when audio/recording is started?

I use the following for playing and recordingL

AudioRecorder recorder; 
recorder.setOutputUrl(<file path...>); 
recorder.record();

and

AudioPlayer player;
player.setInputUrl(...);
player.play();

How can I show progress bar for tham in QML?

Answers


If you use the MediaPlayer you can take advantage of the durationChanged() and positionChanged() signals to drive a ProgressBar. I couldn't find any references to AudioPlayer in the Cascades API.


Need Your Help

Access violation in CLR AwareLock::OwnedByCurrentThread

c# .net debugging clr

I'm try to find the cause of a nasty AccessViolation. This access violation occurs always with the same stack trace.

Great project ideas for MVC/LINQ/jQUERY

jquery asp.net-mvc linq project

I'm looking for a couple projects to help me learn MVC, LINQ, and maybe a little jQUERY. I've got a couple ideas - the top one is creating a complete bug tracking system or support ticket system.