• 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: Asynchronous Audio Again
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Asynchronous Audio Again


  • Subject: Re: Asynchronous Audio Again
  • From: Roger Eastman <email@hidden>
  • Date: Thu, 1 Apr 2004 19:03:30 -0800

I tried NSSound. It did not used to do sound channels like SndPlay et al. I received an e-mail saying that NSSound has been updated to do asynchronous sound, though. I will check it out. Thanks.

Roger Eastman

On Apr 1, 2004, at 12:00 AM, Markus Hitter wrote:


Am 01.04.2004 um 03:37 schrieb Roger Eastman:

I was hoping that there would be a simple function similar to the old SndPlay function in MacOS 9.x with a flag to turn on asynchronous sound.

What's about NSSound? Should be a matter of one or two lines to get your sound playing.

The NSSound class provides a simple interface for loading and playing AIFF, WAV, and NeXT .snd files. NSSound supports 16-bit, mono and stereo, 44.1KHz and 22.05KHz data.

Didn't test wether it allows to play asynchonously. If not, put it in its own thread. One additional line of code.


For even more functionality, there is NSMovieView which basically supports everything QuickTime does.


Cheers,
Markus

- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/
_______________________________________________
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: Asynchronous Audio Again (From: Markus Hitter <email@hidden>)

  • Prev by Date: Re: MIDI Lyrics
  • Next by Date: Re: MIDI processing question
  • Previous by thread: Re: Asynchronous Audio Again
  • Next by thread: Re: Asynchronous Audio Again
  • Index(es):
    • Date
    • Thread