AudioFile APIs
AudioFile APIs
- Subject: AudioFile APIs
- From: "Jacob Ashcroft" <email@hidden>
- Date: Thu, 20 Oct 2005 16:40:36 +0100
I've been sent over from the quicktime api list. I'm using Carbon on Mac OS
X on Xcode. I've been reading a tutorial on sound
(http://www.mactech.com:16080/
articles/mactech/vol.15/15.02/feb99gettingstarted/), I've tried to read from
a sound file and play it using SndStartFiiePlay only to find that it's been
deprecated. The guy on the quicktime list said I should use the AudioFile
APIs instead. What in particular should I do?
Here's a snippet of the code:
FSSpec theFSSpec;
short fileRefNum;
FSMakeFSSpec( 0, 0, "\pMySoundFile", &theFSSpec );
FSpOpenDF( &theFSSpec, fsRdPerm, &fileRefNum );
SndStartFilePlay( nil, fileRefNum, 0, 40960, nil, nil, nil, false );
Thanks
J
_________________________________________________________________
MSN Messenger 7.5 is now out. Download it for FREE here.
http://messenger.msn.co.uk
_______________________________________________
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