Re: Writing to Stereo Wav File (AudioUnitSampleType/8.24 format)
Re: Writing to Stereo Wav File (AudioUnitSampleType/8.24 format)
- Subject: Re: Writing to Stereo Wav File (AudioUnitSampleType/8.24 format)
- From: David Blake <email@hidden>
- Date: Thu, 13 Jun 2013 15:24:04 +1000
I've outputted to a stereo Sint16 file using the following ASBD and that seems to have worked...
destFormat.mSampleRate = graphSampleRate;
destFormat.mFormatID = kAudioFormatLinearPCM;
destFormat.mFormatFlags = kAudioFormatFlagsCanonical ;
destFormat.mFramesPerPacket = 1;
destFormat.mChannelsPerFrame = 2;
destFormat.mBitsPerChannel = 16;
destFormat.mBytesPerPacket = 2*2;
destFormat.mBytesPerFrame = 2*2;
Is this proper way to output stereo wavs?
_______________________________________________
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