kyleneideck / BackgroundMusic

Background Music, a macOS audio utility: automatically pause your music, set individual apps' volumes and record system audio.
GNU General Public License v2.0
16.27k stars 676 forks source link

AirPods automatic ear detection / pause, etc not working #687

Open Misafic opened 1 year ago

Misafic commented 1 year ago

Description of the bug

AirPods Pro Gen 2 automatic ear detection stops working for example if I listen to Spotify normally if I remove an AirPods the music pauses and when I put it back in it resumes. Now if I remove it nothing happens, if I do take it out a couple of times it starts working but BGM just stops working on Youtube videos on safari and both play at the same time, I can get BGM working again by reselecting MacBook speakers and then AirPods again but this just stops the automatic ear detection again.

Steps to reproduce

Steps to reproduce the bug. This usually doesn't need to be super detailed.

  1. Remove Airpods
  2. Music doesn't pause

Versions

Please complete the following information.

  • Background Music: 0.4.0 Installed via Homebrew running Rosetta 2 to get BGM to install
  • macOS: Ventura 13.4.1

Hardware

Delete this part if you think it's probably not necessary.

  • Computer: MacBook Pro 2021 16" M1 Pro 16GB RAM
  • Audio Device: Devices:

iPhone 13 Microphone:

Input Channels: 1 Manufacturer: Apple Inc. Current SampleRate: 48000 Transport: Unknown Input Source: Default

Background Music:

Input Channels: 2 Manufacturer: Background Music contributors Output Channels: 2 Current SampleRate: 48000 Transport: Virtual Input Source: Default Output Source: Default

Background Music (UI Sounds):

Input Channels: 2 Manufacturer: Background Music contributors Output Channels: 2 Current SampleRate: 48000 Transport: Virtual Input Source: Default Output Source: Default

MacBook Pro Microphone:

Input Channels: 1 Manufacturer: Apple Inc. Current SampleRate: 48000 Transport: Built-in Input Source: MacBook Pro Microphone

MacBook Pro Speakers:

Manufacturer: Apple Inc. Output Channels: 2 Current SampleRate: 48000 Transport: Built-in Output Source: MacBook Pro Speakers

Ben’s AirPods Pro:

Default Input Device: Yes Input Channels: 1 Manufacturer: Apple Inc. Current SampleRate: 24000 Transport: Bluetooth Input Source: Default

Ben’s AirPods Pro:

Default Output Device: Yes Default System Output Device: Yes Manufacturer: Apple Inc. Output Channels: 2 Current SampleRate: 48000 Transport: Bluetooth Output Source: Default