• 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: Random access to decoded ipod tracks via AVAssetReader?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Random access to decoded ipod tracks via AVAssetReader?


  • Subject: Re: Random access to decoded ipod tracks via AVAssetReader?
  • From: Christopher McGrath <email@hidden>
  • Date: Fri, 01 Apr 2011 15:14:51 +1100

Try setting the timeRange property of the AVAssetReader. I believe the default is range is [0, duration] but you can set the timeRange manually with a CMTimeRange. The catch is that you have to tell the AVAssetReader to cancelReading before you can set the timeRange and startReading again.

Chris.

On 01/04/2011, at 2:14 PM, Will Archer wrote:

> Is this possible?  I'm pretty familiar with reading decoded audio data sequentially from start to finish, but I'd like to seek to the halfway point of the track, for example.  I looked through the API and came up empty.
>
> Thanks,
>
> Will
> _______________________________________________
> 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: 
 >Random access to decoded ipod tracks via AVAssetReader? (From: Will Archer <email@hidden>)

  • Prev by Date: Random access to decoded ipod tracks via AVAssetReader?
  • Previous by thread: Random access to decoded ipod tracks via AVAssetReader?
  • Index(es):
    • Date
    • Thread