• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AudioConverter problems...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AudioConverter problems...


  • Subject: Re: AudioConverter problems...
  • From: email@hidden
  • Date: Wed, 16 Oct 2002 17:21:15 +0100

Hi James,

The bytes per packet was the problem! The ANDing was just a typo :)

Thanks!

-- John


sourceFormat.mFormatFlags = kAudioFormatFlagIsBigEndian | kAudioFormatFlagIsFloat ;
sourceFormat.mBytesPerPacket = 8;

mBytesPerPacket should equal mBytesPerFrame for LPCM.
and ANDing the flags together is usually not a good idea ;)
_______________________________________________
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.

References: 
 >Re: AudioConverter problems... (From: James McCartney <email@hidden>)

  • Prev by Date: Re: AudioConverter problems...
  • Next by Date: Re: Logic 5.4/X (AU hosting) released
  • Previous by thread: Re: AudioConverter problems...
  • Next by thread: Re: AudioConverter problems...
  • Index(es):
    • Date
    • Thread