Re: AudioConverter problems...
Re: AudioConverter problems...
- Subject: Re: AudioConverter problems...
- From: James McCartney <email@hidden>
- Date: Wed, 16 Oct 2002 09:02:03 -0700
sourceFormat.mFormatFlags = kAudioFormatFlagIsBigEndian |
kAudioFormatFlagIsFloat ;
sourceFormat.mBytesPerPacket = 8;
mBytesPerPacket should equal mBytesPerFrame for LPCM.
and ANDing the flags together is usually not a good idea ;)
On Wednesday, October 16, 2002, at 08:24 AM, email@hidden
wrote:
sourceFormat.mFormatFlags = kAudioFormatFlagIsBigEndian &
kAudioFormatFlagIsFloat;
sourceFormat.mBytesPerPacket = 4;
sourceFormat.mFramesPerPacket = 1;
sourceFormat.mBytesPerFrame = 8;
---
James McCartney email@hidden
Apple CoreAudio
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.