• 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: .mov into AudioFilePlayer Unit?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: .mov into AudioFilePlayer Unit?


  • Subject: Re: .mov into AudioFilePlayer Unit?
  • From: Seth Willits <email@hidden>
  • Date: Tue, 13 Nov 2012 21:17:09 -0800

On Nov 13, 2012, at 12:34 PM, Seth Willits wrote:

> But as you say (and I briefly alluded to in my first post), I could take those LPCM sample buffers, get ABLs back out of them and provide them via the callback to the AUGraph, but to do I'm pretty sure I'd need to buffer them since the graph will ask for some "arbitrary" amount of data from me, and I'm only able to get data in chunks the size of whatever AVF decides to give them to me, I'll have to read ahead some amount more, copy the data, figure out where to cut it, hand that back to the callback etc... Things I'm sure I could figure out in some number of hours, but I really don't want to do.

For posterity…

I came across this sample which does AVCaptureAudioDataOutput to AudioBufferList for use with an AudioUnit graph which is roughly the same thing as going from AVAssetReader:
https://developer.apple.com/library/mac/#samplecode/AVCaptureToAudioUnitOSX/Listings/CaptureSessionController_mm.html


--
Seth Willits


 _______________________________________________
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: 
 >.mov into AudioFilePlayer Unit? (From: Seth Willits <email@hidden>)
 >Re: .mov into AudioFilePlayer Unit? (From: Chris Adamson <email@hidden>)
 >Re: .mov into AudioFilePlayer Unit? (From: Seth Willits <email@hidden>)

  • Prev by Date: kAudioObjectPropertyControlList and control properties
  • Next by Date: Audio Units - interleaved vs deinterleaved
  • Previous by thread: Re: .mov into AudioFilePlayer Unit?
  • Next by thread: kAudioObjectPropertyControlList and control properties
  • Index(es):
    • Date
    • Thread