• 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 : AudioFile API + AudioConverter issues
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re : AudioFile API + AudioConverter issues


  • Subject: Re : AudioFile API + AudioConverter issues
  • From: Benjamin Golinvaux <email@hidden>
  • Date: Tue, 18 Feb 2003 16:36:39 +0100

ooooops

sorry for the mistake

when printing the stream basic desc of the cdda file,

it should read

mFormatFlags = 14, <--- kAudioFormatFlagIsPacked || kAudioFormatFlagIsSignedInteger || kAudioFormatFlagIsBigEndian

( i read '0x14' instead of 14.)

but this is now clear : the AudioFile API sees the CDDA file as big endian while it's little endian

If I hardcode 12 instead of 14 (by removing kAudioFormatFlagIsBigEndian), then it works......

the problem is : i'm willing to hack my code that way but.... is there a quick check to see if an AIFx file
is little endian or big endian (since i can't use the AudioFile API to check) ?

Thanks


Benjamin Golinvaux
_______________________________________________
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.

  • Prev by Date: AudioFile API + AudioConverter issues (2)
  • Next by Date: Setting the buffer size when using the Default Output AudioUnit
  • Previous by thread: AudioFile API + AudioConverter issues (2)
  • Next by thread: Setting the buffer size when using the Default Output AudioUnit
  • Index(es):
    • Date
    • Thread