rain-fighters / AudioPick

A Chrome Extension to pick a preferred audio output device for HTML5 audio and video elements
https://rain-fighters.github.io/AudioPick/
GNU General Public License v3.0
102 stars 22 forks source link

AudioPick, overnight is not seeing BlackHole audio drivers #56

Closed jchin-ria closed 7 months ago

jchin-ria commented 7 months ago

AudioPick loses (not seeing) the BlackHole audio devices once the computer idles for a few hours (except for the one set as default system audio output).

This is the audio driver: https://github.com/ExistentialAudio/BlackHole/releases

And we have the 2-ch, 16-ch and 64-ch versions installed.

Once we restart the Chrome browser, it is all there again. But we have to do this every morning to get AudioPick to see them again.

necropola commented 7 months ago

I suspect that this is more an issue of the driver, OS and/or Chrome. If the API does not (no longer) list the device, it can't be "picked".

I assume that sites which allow to select Audio output devices, e. g. the Teams and Discord Web Applications do not see the device either when this happens. Can you check this, please? If this is the case, then there is nothing AudioPick can do.

I also found this issue here: https://github.com/ExistentialAudio/BlackHole/issues/524

jchin-ria commented 7 months ago

The issue is only with Chrome tabs. Other applications like OBS and Zoom continue to see the other BlackHole devices. If I restart Chrome (not the MacBook), it all works again.

necropola commented 7 months ago

What I meant was try to use a Audio-Enabled Web Application in Chrome when the device disppears, e. g. https://discord.com, and see whether the device is shown in the web app or not. If not, then it's a Chrome/Driver/OS issue and nothing AudioPick can fix.

jchin-ria commented 7 months ago

OK thanks for the clarification, this must be a Chrome browser issue then since we can see the virtual audio drivers in other apps. By the way, the VB-Cable (https://vb-audio.com/Cable/VirtualCables.htm) virtual audio driver never disappears from Chrome or AudioPick.

jchin-ria commented 7 months ago

Just a note, for other users who might be looking for a virtual audio driver ... I am now testing SoundDesk Virtual Device (https://www.loudlab-app.com/sounddesk-vd) as an alternative to BlackHole.