How to implement a time line? (current playing time line)
How to implement a time line? (current playing time line)
- Subject: How to implement a time line? (current playing time line)
- From: "Ignacio Enriquez" <email@hidden>
- Date: Sun, 23 Nov 2008 14:27:00 +0900
I wonder how can I implement a time line
I am planning to use something like a progress bar but I am not sure
how to get the current playing time from a Queue.
I am using CBR compressed files ,like *mp3, inside my queue.
I have an Idea.
Since I am using CBR files, I could know the current playing time by
looking at the current packet (the one which is played at that moment)
and calculate the time by doing:
currentPacket/totalPackets and multiplying this by the length of the song.
Am I in the correct way?
Or Is there any easier way or maybe a function I can use?
Thanks In Advance.
Ignacio.
--
_____________________________________________
Guillermo Ignacio Enriquez Gutierrez
Shibaura Institute Of Technology
Faculty of Engineering
Department of Information Science & Engineering
Senior Student
_____________________________________________
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden