Bell causes entire screen to flash white

I have an old-ish iMac where the sound has stopped working:

enter image description here

which I'm not really too fussed about - it doesn't get used for a whole lot of stuff.

The only really annoying part is that it seems like every time the OS wants to play a bell, it sees that there's no sound available so it flashes the entire screen white.

I've checked another SE post which recommended checking "Accessibility > Audio > Flash the screen when an alert sound occurs" and trying to enable then disable it - done that, and had no luck. I've also removed ~/Library/Preferences/com.apple.universalaccess.plist and restarted, that hasn't helped either.

As another answer on the other post suggested, I've also tried running sudo killall coreaudiod with no joy.

Does anyone else have any idea how I can get rid of the white flash?


Solution 1:

Since I don't have a broken audio card and VMs apparently don't work with a virtual sound device (pun not intended but it got one - maybe I made a mistake installing Soundflower) I can't really prove it, but the following should work:

  • Download Soundflower 2.0b2 (for 10.8, 10.9, 10.10)
  • or download Soundflower 1.6.3 (tested with 10.7)
  • or download and compile the Soundflower sources

  • Install Soundflower and reboot your Mac

  • Set the Soundflower device as default audio output for alerts/sound effects with the Audio-MIDI-Setup tool (found in /Applications/Utilities).

    enter image description here