Re: AudioFile APIs
Re: AudioFile APIs
- Subject: Re: AudioFile APIs
- From: alex <email@hidden>
- Date: Thu, 20 Oct 2005 17:03:43 -0400
Brace yourself!
a
At 4:40 PM +0100 10/20/05, Jacob Ashcroft wrote:
>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
_______________________________________________
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