• 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: Tim Kemp <email@hidden>
  • Date: Thu, 06 Dec 2012 11:48:18 -0500

Yes, I did this.

I also found I wasn't setting the RemoteIO ASBD properly, so the various nodes in my graph had different stream descriptions. I've now set the same ASBD on every node's input and output scopes. And... silence.

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

> Would you, please, NOT use canonical flags and explicitly set the your
> ASBD flags to signed, packed, native endian?
>
> From CoreAudioTypes.h:
>
> #if !CA_PREFER_FIXED_POINT
>    kAudioFormatFlagsCanonical          = kAudioFormatFlagIsFloat |
> kAudioFormatFlagsNativeEndian | kAudioFormatFlagIsPacked,
>    kAudioFormatFlagsAudioUnitCanonical = kAudioFormatFlagIsFloat |
> kAudioFormatFlagsNativeEndian | kAudioFormatFlagIsPacked |
> kAudioFormatFlagIsNonInterleaved,
> #else
>    kAudioFormatFlagsCanonical          =
> kAudioFormatFlagIsSignedInteger | kAudioFormatFlagsNativeEndian |
> kAudioFormatFlagIsPacked,
>    kAudioFormatFlagsAudioUnitCanonical =
> kAudioFormatFlagIsSignedInteger | kAudioFormatFlagsNativeEndian |
> kAudioFormatFlagIsPacked | kAudioFormatFlagIsNonInterleaved |
> (kAudioUnitSampleFractionBits <<
> kLinearPCMFormatFlagsSampleFractionShift),
> #endif
>
> --------------------------------------------------------------------------
> for hire: mac osx device driver ninja. kernel, usb and coreaudio drivers
> ---------------------+------------+---------------------------------------
> http://wagerlabs.com | @wagerlabs | http://www.linkedin.com/in/joelreymont
> ---------------------+------------+---------------------------------------


 _______________________________________________
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: 
 >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: Joel Reymont <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: Joel Reymont <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