• 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: Markus Hitter <email@hidden>
  • Date: Thu, 1 Apr 2004 10:00:10 +0200

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.


  • Follow-Ups:
    • Re: Asynchronous Audio Again
      • From: Roger Eastman <email@hidden>
  • Prev by Date: Re: Audio threads scheduling
  • Next by Date: Re: Audio threads scheduling
  • Previous by thread: Re: Audio threads scheduling
  • Next by thread: Re: Asynchronous Audio Again
  • Index(es):
    • Date
    • Thread