• 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
Re: Audio playback at a specific position?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Audio playback at a specific position? (From: "吴愚" <email@hidden>)
 >Re: Audio playback at a specific position? (From: Vyacheslav Karamov <email@hidden>)
 >Re: Audio playback at a specific position? (From: "吴愚" <email@hidden>)

  • Prev by Date: Re: Examples for AudioFileStream and AudioConverter?
  • Next by Date: Re: Implementing Properties kAudioUnitProperty_SupportedChannelLayoutTags and kAudioUnitProperty_AudioChannelLayout
  • Previous by thread: Re: Audio playback at a specific position?
  • Next by thread: Multi-bus rendering
  • Index(es):
    • Date
    • Thread