In System Preferences > Sound, there is a setting to "Play sound effects through…" I believe this changes where alert sounds are played. I expect NSSound by default uses the selected sound output device (selected in the Output tab of the preference panel). But it seems to have a setPlaybackDeviceIdentifier: method that I've never tried using.
Dave On 2012-11-21, at 9:04 PM, Keary Suska <[email protected]> wrote: > On Nov 21, 2012, at 3:54 PM, Rick C. wrote: > >> In my project there are times I call NSBeep and times when I use NSSound and >> play one of Finder's system sounds that have to do with file-movement (for >> example the undo sound). Problem is NSBeep gets played through the user's >> internal Mac speakers where as using NSSound is played through a user's >> external speakers assuming they are using them. This can make a big >> difference in sound volume. Is there any solution/workaround for this? Or >> just to make a preference to disable the calls to NSSound? Thanks for the >> input, > > Are you sure this is the case? All sounds (including system beeps) on my Macs > always play through external speakers when connected, and I don't seem to > have any way to tell it otherwise… > > HTH, > > Keary Suska > Esoteritech, Inc. > > > > _______________________________________________ > > Cocoa-dev mailing list ([email protected]) > > 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: > https://lists.apple.com/mailman/options/cocoa-dev/dave.fernandes%40utoronto.ca > > This email sent to [email protected] _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
