Hello,
While my application ran fine with the snap based on core20, moving to core24 makes pulseaudio connection fail, although the audio-playback
connection is set :
fluidsynth: error: Failed to create PulseAudio connection, because pa_simple_new() failed with error: Connection refused
I tried to set the pulseaudio connection on too, but no success.
Here are some relevant parts of the snapcraft.yaml:
apps:
redrose:
environment:
FONTCONFIG_PATH: $SNAP/etc/fonts
QT_PLUGIN_PATH: $SNAP/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/qt6/plugins
LD_LIBRARY_PATH: ${LD_LIBRARY_PATH}:$SNAP/usr/lib/x86_64-linux-gnu:$SNAP/usr/lib/x86_64-linux-gnu/pulseaudio
GS_LIB: $SNAP/usr/share/ghostscript/10.02.1/Resource/Init
GS_FONTPATH: $SNAP/usr/share/ghostscript/10.02.1/Resource/Font
desktop: usr/local/share/applications/redrose.desktop
command: usr/local/bin/redrose
plugs:
- opengl
- wayland
- x11
- desktop
- desktop-legacy
- home
- audio-playback
- pulseaudio
- jack1
- alsa
- cups-control
Any help to get back audio on my application ?