Re: canonical audio format on mac osx 10.8
Re: canonical audio format on mac osx 10.8
- Subject: Re: canonical audio format on mac osx 10.8
- From: Joel Reymont <email@hidden>
- Date: Thu, 01 Nov 2012 21:21:11 +0000
kAudioFormatFlagIsNonInterleaved is the problem.
I don't understand why, though.
// this works fine
desc.mSampleRate = 131072;
desc.mFormatID = kAudioFormatLinearPCM;
desc.mFormatFlags = kAudioFormatFlagIsFloat
| kAudioFormatFlagsNativeEndian
| kAudioFormatFlagIsPacked;
//| kAudioFormatFlagIsNonInterleaved; <-- except for this!
desc.mBytesPerPacket = 8;
desc.mFramesPerPacket = 1;
desc.mBytesPerFrame = 8;
desc.mChannelsPerFrame = 2;
desc.mBitsPerChannel = 32;
--------------------------------------------------------------------------
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