BLeeEZ / amperfy

Amperfy is an iOS/iPadOS/macOS app to play songs from an Ampache or Subsonic server
GNU General Public License v3.0
471 stars 37 forks source link

[Mac /bug] no sound in playback when the output changes (to bluetooth?) #334

Open kzssc opened 2 days ago

kzssc commented 2 days ago

(apologies for running ahead with Mac)

With Amerfy open in the background (not playing), connecting my airpods will render the resumption of playback mute. Playback can still be observed as the playback bar progresses. Restarting amperfy rectifies this issue.

BLeeEZ commented 9 hours ago

I am not recreating this issue since I don't have AirPods. I implemented a AudioSession route change handling and hope that this fixes the issue (684f16f6b3c34f7be86a873ceca9fac0f549f661). I tested it with my bluetooth headphones which now handle playback in the following way: