Re: To get system sounds for Move or Copy operations
Re: To get system sounds for Move or Copy operations
- Subject: Re: To get system sounds for Move or Copy operations
- From: "Sean McBride" <email@hidden>
- Date: Tue, 11 Aug 2009 08:42:20 -0400
- Organization: Rogue Research Inc.
On 8/11/09 8:09 AM, Uli Kusterer said:
>> NSSound initWithContentsOfFile:byReference: should do it.
>
> There's also a PlayThemeSound() API in Carbon.framework's
>Appearance.h. There's a comment in that header indicating that it
>wasn't implemented for a while, and I haven't tried whether it works,
>but that it's not deprecated hints that it might work after all.
It's worse than deprecated, it's totally removed (in 64 bit). :( All
the more reason for an NSSound equivalent. (Rant: I wish everything not
available in 64 bit was marked deprecated. There's not much future in
an API that's unavailable in 64 bit.)
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden