Is there a way to check if system sounds are enabled?
Unsolved
General and Desktop
-
Hi
I am experimenting with Qt's audio recording features and wondering if there is a way to check if the platform (Windows or Mac) has its system sounds enabled? I don't want the recording to be ruined because of a notification message.If system sounds are enabled, I would like to display a warning message when the program starts, so that the user can disable them. Even better of course would be to let the app disable them, but I wonder if this can be done with Qt directly.
Thanks
-
Hi
Since that is very platform dependant i doubt there is a direct way but
say on windows, you can use QSettings to alter registry
https://www.petri.com/change_to_no_sounds_sound_scheme_by_defaultI cant say on macOS but i assume there is a way too.