Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac Audio Input In Use and Active Audio Input incorrectly activated #3091

Open
mr-ransel opened this issue Oct 14, 2024 · 1 comment
Open

Comments

@mr-ransel
Copy link

mr-ransel commented Oct 14, 2024

Device model, version and app version

Model Name: MacBook Pro 16-inch, 2019
macOS Version: Sonoma 14.7
App Version: 2024.9.2 (2024.881)
Safari Version: 18.0.1

Home Assistant Core Version
2024.10.1

Describe the bug
When I play any kind of audio output (open chrome, play youtube, etc), while my USB Headphones are plugged in, the Home Assistant app reports both Audio input and audio output as active, both using "USB Audio Device", but there's no menu "microphone in use" icon from the host OS.

To Reproduce
In my particular case, these are MSI DS502 USB Gaming Headphones, but it may well affect other USB headphones as well.

Expected behavior
When you play music on USB headphones, without using the microphone, I'd expect the Audio Input in Use and Active Audio input to be false and inactive, respectively, but the Audio Output in use and active audio output to be true and USB Audio Device respectively

Screenshots
Happy to collect these, or other sanitized logs if there's other kinds of debug information or tests I can collect.

Additional context
The fact that there's no menu icon showing microphone usage implies that the OS does in fact know the difference and can identify that the microphone isn't active, but whatever method the companion app is using to identify input audio devices usage perceives these USB headphones as actively using the microphone anytime the output device is pointed at the headphones and playing sound.

@mr-ransel mr-ransel changed the title Audio Input In Use and Active Audio Input Audio Input In Use and Active Audio Input incorrectly activated Oct 15, 2024
@mr-ransel mr-ransel changed the title Audio Input In Use and Active Audio Input incorrectly activated Mac Audio Input In Use and Active Audio Input incorrectly activated Oct 17, 2024
@edgegit
Copy link

edgegit commented Nov 8, 2024

ok, so I have something similar (I think).

I have the HA App installed on my Mac mini M1 Pro. The audio from my mini is routed through my external audio interface (Universal Audio apollo x6 for reference). If I play music on e.g. Spotify, both sensors "Rob’s Mac mini Active Audio Input" and "Rob’s Mac mini Active Audio Output" change state from inactive to "Universal Audio Thunderbolt". It's a PIA because now my automation, to automagically pause Spotify when a Teams call comes in, doesn't work. As a quick check, routing everything through the mini, the sensory behave correctly. :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants