Re: NSSound vs QuickTime
Re: NSSound vs QuickTime
- Subject: Re: NSSound vs QuickTime
- From: Guy English <email@hidden>
- Date: Mon, 23 Jan 2006 08:56:09 -0500
Hi Ian,
NSSound stinks. It's nice enough for simple system-beep type things
and it will in fact (as far as I know) play any sound QuickTime can
handle but it's got some painful limitations. Like you can't set the
volume for example.
If you'll require 10.4 I'd suggest using QTKit to play the
background music and OpenAL for the sfx. I think there was some
discussion of using QTKit to play audio on this list already so check
out the archives. OpenAL is, if you're not used to OpenGL, a little
bit of a leap from the usual but it's really dead simple. Apple has
some sample code that'll get you going and if you need it I've got I
could share too.
Take care,
Guy
On 23-Jan-06, at 1:30 AM, Ian was here wrote:
I'm creating a cocoa version of a game that I did in
Carbon a couple of years ago. I used QuickTime for the
background music. In the new cocoa version I'm
inclined to use QuickTime again for the music and
NSSound for sound effects. Does anyone think this may
be overkill and that NSSound could be used for the
background music as well?
Thank you
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden