Finding documentation about error codes
Finding documentation about error codes
- Subject: Finding documentation about error codes
- From: Kevin Golding <email@hidden>
- Date: Mon, 10 Jan 2005 01:25:54 -0800 (PST)
- Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
Hi All
I am trying to get started with coreaudio to do a
little recording project.
I have downloaded the 'PlayAudioFileLite' project and
made some trivial changes. Now when I try to run it it
falls over with an error number.
Stepping through with the debugger seems to suggest
that the offending statement is a call to
AudioFileOpen, which returns with 1954115647.
I have tried searching for as much documentation as I
can. The best I have come up with as a PDF called
CoreAudio.pdf.
this pdf has exactly the following to say on the
subject of 'AudioFileOpen'...
AudioFileOpen Opens a file while preserving its
contents.
extern OSStatus AudioFileOpen ( const FSRef
*inFileRef, SInt8 inPermissions, UInt32 inFlags,
AudioFileID *outAudioFile );
Discussion The inFileRef should be a reference to an
existing file, inPermissions being the permissions for
the file, as used by FSOpenFork(), and inFlags,
currently undefined, should be set to 0; outAudioFile
is a file instance that will be returned for use in
other audio file functions.
...Now, I don't see anything in there that mentions
return codes and what they might mean. So basically I
am stuck with a non-working program and absolutely no
idea as to why.
Can anyone point me in the direction of some form of
documentation that spells out all the details like
return codes etc?
Thanks
THO
__________________________________
Do you Yahoo!?
Meet the all-new My Yahoo! - Try it today!
http://my.yahoo.com
_______________________________________________
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