• 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: Users default alert sound
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Users default alert sound


  • Subject: Re: Users default alert sound
  • From: Britt Durbrow <email@hidden>
  • Date: Wed, 14 Dec 2016 14:03:36 -0800

Also, not everyone *has* a sound that plays… if the volume is turned all the way down, or if they have a hearing issue, for example, they will often have the screen flash turned on; calling NSBeep() triggers this correctly.



> On Dec 14, 2016, at 10:51 AM, Sandor Szatmari <email@hidden> wrote:
>
> I didn't know that automatically played the configured sound.  That's great thanks!  I knew I was missing something straightforward.
>
> Sandor
>
>> On Dec 14, 2016, at 12:58, Quincey Morris <email@hidden> wrote:
>>
>>> On Dec 14, 2016, at 09:45 , Sandor Szatmari <email@hidden> wrote:
>>>
>>> I am currently using [NSSound soundNamed:] to play any arbitrary sound.  But I want to play the one configured in System Preferences.
>>
>> You can use the NSBeep () global function to play the configured alert sound. I don’t know if there’s an API to get its file name — it’s not obvious that it is even a separate file, always.
>>
> _______________________________________________
>
> 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


_______________________________________________

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


  • Follow-Ups:
    • Re: Users default alert sound
      • From: Sandor Szatmari <email@hidden>
References: 
 >Users default alert sound (From: Sandor Szatmari <email@hidden>)
 >Re: Users default alert sound (From: Quincey Morris <email@hidden>)
 >Re: Users default alert sound (From: Sandor Szatmari <email@hidden>)

  • Prev by Date: Re: Users default alert sound
  • Next by Date: Autolayout warnings
  • Previous by thread: Re: Users default alert sound
  • Next by thread: Re: Users default alert sound
  • Index(es):
    • Date
    • Thread