• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How to implement a time line? (current playing time line)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: How to implement a time line? (current playing time line)
      • From: William Stewart <email@hidden>
  • Prev by Date: Re: Please help with Audio Session and RemoteIO AU on iPhone and iPod touch
  • Next by Date: Re: Real-Time Audio Analysis
  • Previous by thread: AudioQueueOfflineRender() problems
  • Next by thread: Re: How to implement a time line? (current playing time line)
  • Index(es):
    • Date
    • Thread