How to perform fast forward/rewind with AudioQueue
How to perform fast forward/rewind with AudioQueue
- Subject: How to perform fast forward/rewind with AudioQueue
- From: "Xu Ting" <email@hidden>
- Date: Tue, 30 Sep 2008 20:45:38 +0900
Hi, guys,
I am a newbie to digital audio programming and completely have no idea on how to use Audio Queue, With the XCode documentations, I had implemented play, pause, stop with Audio Queue, but now I have to implement the fast forward/rewind with Audio Queue APIs, can anybody tell me how to do it?
I had searched Google and this mailing list, but I cannot find any correct solution for fast forward/rewind.
Here is what I am gonna do:
a. I have a CAF file, and a meta-data file which indicate the start time and the end time of each pieces in the CAF file.
b. When user press a play button, I need to play the CAF file.[I had it done.]
c. When user press a pause button, I need to pause the CAF file.[it also had been done.]
d. When user press a fast forward button, I need to play the CAF at the time which is specified by the meta-data file, untill the file reaches the end.
e. When user press a rewind button, I need to play to the previous time specified by the meta-data.
Now, how can I implement it?
Thanks in advance.
Tonny Xu
--
Life is like a box of chocolates, u never know what u'r gonna get.
_______________________________________________
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