macos: airplay retained as audio output device (even though nothing is attached to it)
During the holidays my girlfriend was very confused as to why there were no audio when she was playing a movie with vlc, and to make a semi-direct quote: "every other application has audio, but not VLC, no matter what I do".
As it turned out, AirPlay was selected as the audio device, even though nothing indicating that this was the case (I remember her pointing to the macos status bar when I asked if she might be having audio in the TV room).
I think many, non-computer savvy, users would appreciate if VLC could probe to see if AirPlay actually has devices attached to it, and if not; fall back to the normal speakers (or at least issue a warning diagnostic/dialog).
Steps to reproduce
Given that I do not have access to a macbook right now, nor do I spend a lot of time on macos, I do not know the exact steps to reproduce (so go easy on me).
I guess the easiest way would be to select AirPlay as output device while it is actually connected to something, and then close VLC, disable AirPlay, and open VLC again.
"Hopefully" that will retain VLCs preference to use AirPlay, even though nothing is there.