Is it possible to play certain sounds from a macOS app that remain at full volume when VoiceOver is speaking?
Here's some background:
I want to play sounds from my app (even when it's not in focus) to notify a VoiceOver user that an action is available (this action can be triggerred even when the app is not in focus; and is comfigurable by the user).
I tired using an NSSound for this, but VoiceOver ducks the audio of my sound when it is speaking.
Is there some way to avoid audio ducking for certain sounds? Or is there another, perhaps lower level, audio API that i can use to achieve this?