Jukebox currently uses the PortAudio library as a cross-platform sound API. Unfortunately, it does not have the functionality to receive device count change events. This leads to stuttering if the new default device has different stream parameters to the old one.
Until the PortAudio team decides to release this feature, I'll be thinking of migrating to libsoundio. Again though, libsoundio is build failing on MacOS because it is using a deprecated API, so can't use that yet either.
Ugh.
Jukebox currently uses the
PortAudiolibrary as a cross-platform sound API. Unfortunately, it does not have the functionality to receive device count change events. This leads to stuttering if the new default device has different stream parameters to the old one.Until the
PortAudioteam decides to release this feature, I'll be thinking of migrating tolibsoundio. Again though,libsoundiois build failing on MacOS because it is using a deprecated API, so can't use that yet either.Ugh.