• 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: Newbie.please help
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie.please help


  • Subject: Re: Newbie.please help
  • From: spacestation <email@hidden>
  • Date: Sun, 2 Feb 2003 04:32:12 +0000

Thanks! I'll get down to it.

Best Jay.

On Sunday, February 2, 2003, at 03:16 AM, Kurt Revis wrote:

On Saturday, February 1, 2003, at 06:59 PM, spacestation wrote:

NSSound of seems very basic compared to AudioToolbox.
Even though I have an average knowledge of C,I'm having trouble making the connection in using
the C written AudioToolbox files with Obj-C code.

If I have a NSSound instance in Obj-C,how can I manipulate it using the C functions in AudioToolbox?
Am I right in saying AudioToolbox relates to CoreAudio?or is it just for OS9 SoundManager?

NSSound is currently implemented using the Carbon Sound Manager. The Sound Manager itself is implemented on top of CoreAudio, but NSSound doesn't have any direct connection to CoreAudio. NSSound doesn't let you do much with a sound, other than play it, unfortunately. If you need to do more, you'll need to write it yourself.

The AudioToolbox framework contains some higher-level modules which are built on top of the "base" CoreAudio and AudioUnit frameworks. Generally on this list we talk about all three of them (and CoreMIDI).

Is there any examples anyone could point me to showing the use of CoreAudio in Obj-C?

Here are links to a lot of sample code, some of which is written in Objective-C:
http://www.mat.ucsb.edu:8000/CoreAudio/2

Keep in mind that you can call any C code from Objective-C, without doing anything special. (And if you compile as Objective-C++, you can call C++ code as well.) You don't have to do *everything* in Objective-C.

--
Kurt Revis
email@hidden
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Newbie.please help (From: Kurt Revis <email@hidden>)

  • Prev by Date: Re: Newbie.please help
  • Next by Date: Re: Is ReWire necessary under OS X?
  • Previous by thread: Re: Newbie.please help
  • Next by thread: Re: MIDISend buffersize?
  • Index(es):
    • Date
    • Thread