Re: Constructing an AudioFileID
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