Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
interfaces/pulseaudio: adjust to manually connect by default #7631
Snaps should use audio-playback (and audio-record if they need
Snaps should use audio-playback (and audio-record if they need recording) instead of pulseaudio. Now that audio-record has been available since 2.41 and all existing snaps in the snap store that plugs pulseaudio have been grandfathered to have a snap declaration to auto-connect pulseaudio, it is time to adjust pulseaudio to manually connect. References: - https://forum.snapcraft.io/t/upcoming-pulseaudio-interface-deprecation/13418
If a new release is published to the snap store that requests pulse-audio and not audio-playback, will they have grandfathering patch auto-applied?
Just wondering what will happen if I publish a new version of my package before electron-userland/electron-builder#4234 (comment) gets resolved. Thanks!
The grandfathering happens store side and yes, for existing snaps, this has already been done and snaps don't have to change to add audio-playback and shouldn't regress. Note also, it is fine to specify audio-playback and pulseaudio at the same time and also fine to specify audio-playback on a system with snapd < 2.41 (it, obviously, just won't be connected since it doesn't exist there, but it will install just fine).
The main thing about electron-userland/electron-builder#4234 is that for new snaps without this applied, pulseaudio won't be auto-connected, but they will install just fine. We have a process that people can follow, and if/when someone requests pulseaudio to be auto-connected, we can guide them towards using audio-playback instead until electron-builder is updated.