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

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


  • Follow-Ups:
    • OpenAL support for 8 channels?
      • From: Nick Mariette <email@hidden>
    • Re: AudioFile APIs
      • From: alex <email@hidden>
    • Re: AudioFile APIs
      • From: Jens Alfke <email@hidden>
  • Prev by Date: AudioReflectorDriver
  • Next by Date: Re: AudioReflectorDriver
  • Previous by thread: Re: AudioReflectorDriver
  • Next by thread: Re: AudioFile APIs
  • Index(es):
    • Date
    • Thread