amperfy
amperfy copied to clipboard
[Mac /bug] no sound in playback when the output changes (to bluetooth?)
(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.
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:
- speaker on, connect headphones -> audio plays uninterrupted from headphones
- disconnect headphones -> playback pauses, when now pressed play -> audio starts playing from speaker