No sound

no sound
sound does not work
my snapcraft

name: soundband
version: '1.0'
summary: Mobile and desktop song sync audio player. working on wifi. 
description: |
  SoundBand is a cross-platform application for synchronous music playback on all your devices. supported platform:
    Linux
    Android
    Windows


grade: stable # must be 'stable' to release into candidate/stable channels
confinement: strict # use 'strict' once you have the right plugs and slots

base: core18

icon: data/icons/icon.png

apps:
  soundband:
    command: desktop-launch $SNAP/AppRun.sh

    plugs: [desktop, unity7, home, opengl, x11, wayland, gsettings, network, pulseaudio, removable-media, network-bind]

parts:
  soundband:
    plugin: nil
    stage-packages:
      - libasn1-8-heimdal
      - libgssapi3-heimdal
      - libldap-2.4-2
    after: [libsgl, libsaudio, desktop-glib-only, qtlib]
    
  qtlib:
    plugin: dump
    source: data/ #latest qt libs
      
  libsgl:
    plugin: nil
    stage-packages:
      # Here for the plugins-- they're not linked in automatically.
      - libx11-xcb1
      - libglu1-mesa
      - libxrender1
      - libxi6
      - libegl1-mesa
      - fontconfig
      - libgl1-mesa-dri
      - libxkbcommon0
      - ttf-ubuntu-font-family
      - dmz-cursor-theme
      - adwaita-icon-theme
      - gnome-themes-standard
      - shared-mime-info
      - libgdk-pixbuf2.0-0
      - libgtk2.0-0
      - xdg-user-dirs
      - libxrandr2
      - libwayland-cursor0
      - libwayland-egl1
      - libpq5
      
  libsaudio:
    plugin: nil
    stage-packages:
      - gstreamer1.0-plugins-ugly
      - gstreamer1.0-plugins-good
      - gstreamer1.0-plugins-base
      - libpulse0
      - libpulse-mainloop-glib0
      - libslang2
      - libgpm2
      - libasound2

log

Warning: "Jack server not found"

what could be the problem?

That message is not a problem as most people simply don’t have a Jack installation. You should check if the snapped application supports Pulseaudio.

Also check out GitHub - diddlesnaps/snapcraft-alsa: ALSA for your snap package routing sound through Pulseaudio!

Looks like your application defaults to trying to use jackd instead of pulseaudio … take a look if you can change the default configuration …

It is also possible the application tries jackd, then fallbacks to pulseaudio or alsa.

1 Like

I start the application out of snap poketa, in that case it works fine and without warnings, tried and alsa-lib but it did not solve my problem.

1 Like