Re: old mtcoreaudio code doesn't work now
Re: old mtcoreaudio code doesn't work now
- Subject: Re: old mtcoreaudio code doesn't work now
- From: dudley ackerman <email@hidden>
- Date: Wed, 9 Jan 2008 11:51:54 -0800
On Jan 9, 2008, at 11:42 AM, Mark Pauley wrote:
shtoomDescription.mFormatID = kAudioFormatLinearPCM;
shtoomDescription.mFormatFlags = kLinearPCMFormatFlagIsPacked |
kLinearPCMFormatFlagIsSignedInteger |
kLinearPCMFormatFlagIsBigEndian |
kAudioFormatFlagIsNonInterleaved;
In addition to Michael's suggestions, I would suggest that you
switch to using kLinearPCMFormatFlagIsNativeEndian... unless you're
writing to a file of known endian-ness.
_Mark
i am taking in the data and using a gsm codec for which i have source
code and doing a byte swap for the intel endian issue.
you see i am not using that shtoom description in my leopard code --
the current version of MTCoreAudio doesn't take the destination device
as a parameter.
so, i am confused as to how to get 16bit output from MTConversionBuffer.
backing up a step -- i don't understand 'frames'. i am going to have
to think a bit deeper to straighten this out.
_______________________________________________
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