Re: How to capture audio generated by a render callback, iOS
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