• 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: Constructing an AudioFileID
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Constructing an AudioFileID


  • Subject: Re: Constructing an AudioFileID
  • From: William Stewart <email@hidden>
  • Date: Wed, 30 Nov 2005 12:21:13 -0800

Not really - ideally we'd like to see a bug report (http:// bugreporter.apple.com) on those problematic WAV files and see if we can somehow play them (or not)...

Bill

On 29/11/2005, at 10:41 PM, Geoff Hufford wrote:

I am using the Public Utility class CAAudioFile to open and playback WAV
files from disk. I have some files that do not have properly formatted
headers so the call to AudioFileOpen will fail. Is there a way to manually
construct an AudioFileID that I can then pass to CAAudioFile::Wrap ()? The
files I am dealing with are simple 44k stereo files, so no custom codec is
necessary. And I do not need to write these files.


I assume I will open and parse the file header myself, and then need a way
to instantiate an AudioFileID and associate it with the open file, set the
data format, file offset to the data, and the file length. I just cant find
any docs that show how.


[I understand that the ExtendedFile API that came along with Tiger could be
used, but I would like to be able to run on 10.3]


Thanks,
Geoff

 _______________________________________________
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

--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________ __
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________ __


_______________________________________________
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


References: 
 >Constructing an AudioFileID (From: Geoff Hufford <email@hidden>)

  • Prev by Date: AUConstants
  • Next by Date: SPDIF encoded output on G5
  • Previous by thread: Constructing an AudioFileID
  • Next by thread: AUConstants
  • Index(es):
    • Date
    • Thread