• 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: How to capture audio generated by a render callback, iOS
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to capture audio generated by a render callback, iOS


  • Subject: Re: How to capture audio generated by a render callback, iOS
  • From: Joel Reymont <email@hidden>
  • Date: Wed, 05 Dec 2012 16:56:52 +0000

Add the non-interleaved flag here. 

On my iPhone, can't look it up. 

        _outputASBD.mFormatFlags       =kAudioFormatFlagIsSignedInteger |kAudioFormatFlagIsBigEndian |kAudioFormatFlagIsPacked;
--
http://www.linkedin.com/in/joelreymont

On Wednesday, December 5, 2012 at 4:41 PM, Tim Kemp wrote:

Ah. Thanks. I've posted a more recent follow up a couple of hours ago after I started to come to your conclusion.

Currently I'm generating non-interleaved audio (ie, two buffers), which is working fine with the RemoteIO unit. What's the best way for me to convert that to interleaved data for Extended Audio File Services? I don't want to be mallocing a new AudioBuffer in my render callback.

Could I instead have my RemoteIO use interleaved data? If I go that route, I'm not sure how I would set up the ASBD any differently.

Thanks

On 5 Dec 2012, at 11:32, Joel Reymont wrote:

Stack trace says your buffer list is bogus. 

You need to provide a buffer list with at least one buffer with interleaved samples. 

Your mData would have a layout like this [LRLRLR...] where L and R are SInt16 each and LR constituted one frame.

The number of frames in your mData would match numFrames passed to ExtAudioFileWriteAsync. 

--
http://www.linkedin.com/in/joelreymont

On Wednesday, December 5, 2012 at 1:53 AM, Tim Kemp wrote:


 _______________________________________________
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

  • Follow-Ups:
    • Re: How to capture audio generated by a render callback, iOS
      • From: Tim Kemp <email@hidden>
References: 
 >How to capture audio generated by a render callback, iOS (From: Tim Kemp <email@hidden>)
 >Re: How to capture audio generated by a render callback, iOS (From: Gregory Wieber <email@hidden>)
 >Re: How to capture audio generated by a render callback, iOS (From: Tim Kemp <email@hidden>)
 >Re: How to capture audio generated by a render callback, iOS (From: Tim Kemp <email@hidden>)
 >Re: How to capture audio generated by a render callback, iOS (From: Aran Mulholland <email@hidden>)
 >Re: How to capture audio generated by a render callback, iOS (From: Tim Kemp <email@hidden>)
 >Re: How to capture audio generated by a render callback, iOS (From: Tim Kemp <email@hidden>)

  • Prev by Date: Re: How to capture audio generated by a render callback, iOS
  • Next by Date: Re: How to capture audio generated by a render callback, iOS
  • Previous by thread: Re: How to capture audio generated by a render callback, iOS
  • Next by thread: Re: How to capture audio generated by a render callback, iOS
  • Index(es):
    • Date
    • Thread