[Clam-devel] ProgressControl interacting with playback position

Pawel Bartkiewicz tuuresairon at gmail.com
Fri Jun 27 16:00:30 PDT 2008


I've finished writing a new control which is meant to be used as a
position controller and indicator for AudioFileMemoryLoader. It's a
slider with feedback. I've attached it as ProgressControl.patch.
Additionaly, I've changed the behaviour of AudioFileMemoryLoader so it
now outputs normalised position (0.0 .. 1.0) instead of time in

I haven't written the ProgressControl exactly as David suggested, but
I tried to make it consistent with other controls. It's an initial
version and lacks some important things (like error handling).

You can look at the screenshot here:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: AudioFileMemoryLoader-normalised_position_output.patch
Type: text/x-diff
Size: 2071 bytes
Desc: not available
URL: <http://lists.clam-project.org/pipermail/clam-devel-clam-project.org/attachments/20080628/55ad36f9/attachment-0006.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ProgressControl.patch
Type: text/x-diff
Size: 5252 bytes
Desc: not available
URL: <http://lists.clam-project.org/pipermail/clam-devel-clam-project.org/attachments/20080628/55ad36f9/attachment-0007.patch>

More information about the clam-devel mailing list