• 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: AudioFile APIs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >AudioFile APIs (From: "Jacob Ashcroft" <email@hidden>)

  • Prev by Date: Re: AudioFile APIs
  • Next by Date: OpenAL support for 8 channels?
  • Previous by thread: Re: AudioFile APIs
  • Next by thread: OpenAL support for 8 channels?
  • Index(es):
    • Date
    • Thread