Re: Audio playback at a specific position?
Re: Audio playback at a specific position?
- Subject: Re: Audio playback at a specific position?
- From: Craig Hopson <email@hidden>
- Date: Wed, 10 Sep 2008 14:48:26 -0600
Use AudioFileGetProperty -- kAudioFilePropertyAudioDataPacketCount to
get the number of packets in the file
In AudioFileReadPackets the fourth parameter is the packet to start
reading - set it to something between 0 and packet count
-Craig
On Sep 10, 2008, at 2:03 AM, 吴愚 wrote:
That's the problem... How could I do it manually?
2008/9/10 Vyacheslav Karamov <email@hidden>:
吴愚 пишет:
Hello everyone,
I've managed to play audio files on the iPhone, but next I wanna
forward / rewind the audio file and let it could be played at any
specific postion.
It doesn't seem like there's an api to get/set the playing time. And
the Audio Queue Service hide so much information. So I'm wondering
if
there's a way to start the audio at any specific position?
Thanks very much!
-----
Wu Yu
_______________________________________________
You should do it manually.
_______________________________________________
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
_______________________________________________
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