| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
We handle the endian-ness in the GSM Codec. It was written long before Apple Released the Intel version. So the GSM dues the right thing regardless of the endian byte arrangement.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.
It's just that the Codec takes the samples as int16, and not Float32.
John
John _______________________________________________ Do not post admin requests to the list. They will be ignored. Coreaudio-api mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/coreaudio-api/email@hidden
| References: | |
| >Re: old mtcoreaudio code doesn't work now (From: dudley ackerman <email@hidden>) | |
| >Re: old mtcoreaudio code doesn't work now (From: Michael Thornburgh <email@hidden>) | |
| >Re: old mtcoreaudio code doesn't work now (From: dudley ackerman <email@hidden>) | |
| >Re: old mtcoreaudio code doesn't work now (From: Michael Thornburgh <email@hidden>) | |
| >Re: old mtcoreaudio code doesn't work now (From: Michael Thornburgh <email@hidden>) | |
| >Re: old mtcoreaudio code doesn't work now (From: dudley ackerman <email@hidden>) | |
| >Re: old mtcoreaudio code doesn't work now (From: dudley ackerman <email@hidden>) | |
| >Re: old mtcoreaudio code doesn't work now (From: Michael Thornburgh <email@hidden>) | |
| >Re: old mtcoreaudio code doesn't work now (From: dudley ackerman <email@hidden>) | |
| >Re: old mtcoreaudio code doesn't work now (From: Mark Pauley <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.