mpd, shairport-sync with pulseaudio +bluetooth speaker

I am setting up my Rock64 using Dietpi as my music box and attached to a bluetooth speaker via usb bluetooth dongle

I successfully install the mpd, o!mpd, shairport-sync by dietpi-software.
then I setup the pulseaduio (run in system-wide mode) and attached to the bluetooth speaker with this guide

The mplayer work well with the bluetooth speaker

While work with mpd and configure it with pulseaudio, I got the error:

Feb 21 22:32 : exception: Failed to configure output in line 91
Feb 21 22:32 : exception: nested: No such audio output plugin: pulse

It seems mpd don’t know pulse, further check mpd --version

$ mpd --version
Music Player Daemon 0.20.23

Copyright (C) 2003-2007 Warren Dukes <> warren.dukes@gmail.com> >
Copyright 2008-2017 Max Kellermann <> max.kellermann@gmail.com> >
This is free software; see the source for copying conditions. There is NO
warranty; not even MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Database plugins:
simple proxy upnp

Storage plugins:
local smbclient nfs curl

Output plugins:
shout null fifo pipe alsa httpd recorder

Other features:
avahi epoll icu inotify systemd tcp un

It seems mpd compiled without the library libpulse-dev or didn’t configure for it.

For shairport-sync. it didn’t report anything funny; however, the bluetooth speaker has no sound, I wonder both may have the same problem → missing of not config/compile for pulseaudio

I would like to know if anyone have successful experience on setup bluetooth speaker with pulseaudio and mpd/shairport-sync?

This will be perfect if I can confirm the mpd, shairport-sync is supporting pulseaudio

PS, I did attempted to work with bluealsa by follow this guide. Luckily, the setup is done successfully, however, some sound coming from the speaker, but very bad quality and made the attempt fail.

Thanks for any help

We have an open issue (fixed with v6.22) where the mpd.conf set user and group somehow overrides system user permissions.

Please try to remove the user and group setting from mpd.conf and instead edit /lib/systemd/system/mod.service to add User=mpd there.

Just to assure what should already be the case:
usermod -a -G audio mpd

Thanks MichaIng,

Have tried

  1. removed the user and group setting from /etc/mpd.conf
  2. adding user=mpd to /lib/systemd/system/mpd.service
  3. confirmed both mpd and myUserID are belongs to group audio and pulse-access
  4. restart the Rock64

both mpd service and mpd --no-daemon were unable to start and give the same message

No such audio output plugin: pulse

failed to configure output and pointing to the line of

audio_output {
type=“pulse”

I wonder this is not related to the “user”, once I removed the pulseaudio setting with audio_output, the mpd work immediately.

in additions, I look up the dependencies of Mpd and shairport-sync, the libapulse didn’t appeared on the output

shairport-sync

linux-vdso.so.1 (0x0000007f9116e000)
libasound.so.2 => /usr/lib/aarch64-linux-gnu/libasound.so.2 (0x0000007f91008000)
libavahi-common.so.3 => /usr/lib/aarch64-linux-gnu/libavahi-common.so.3 (0x0000007f90fec000)
libavahi-client.so.3 => /usr/lib/aarch64-linux-gnu/libavahi-client.so.3 (0x0000007f90fcd000)
libsoxr.so.0 => /usr/lib/aarch64-linux-gnu/libsoxr.so.0 (0x0000007f90f6c000)
libssl.so.1.1 => /usr/lib/aarch64-linux-gnu/libssl.so.1.1 (0x0000007f90eff000)
libcrypto.so.1.1 => /usr/lib/aarch64-linux-gnu/libcrypto.so.1.1 (0x0000007f90cea000)
libconfig.so.9 => /usr/lib/aarch64-linux-gnu/libconfig.so.9 (0x0000007f90ccd000)
libpopt.so.0 => /lib/aarch64-linux-gnu/libpopt.so.0 (0x0000007f90cb2000)
libpthread.so.0 => /lib/aarch64-linux-gnu/libpthread.so.0 (0x0000007f90c86000)
libdaemon.so.0 => /usr/lib/aarch64-linux-gnu/libdaemon.so.0 (0x0000007f90c6f000)
librt.so.1 => /lib/aarch64-linux-gnu/librt.so.1 (0x0000007f90c58000)
libstdc++.so.6 => /usr/lib/aarch64-linux-gnu/libstdc++.so.6 (0x0000007f90ac7000)
libm.so.6 => /lib/aarch64-linux-gnu/libm.so.6 (0x0000007f90a1a000)
libgcc_s.so.1 => /lib/aarch64-linux-gnu/libgcc_s.so.1 (0x0000007f909f8000)
libc.so.6 => /lib/aarch64-linux-gnu/libc.so.6 (0x0000007f908ae000)
libdl.so.2 => /lib/aarch64-linux-gnu/libdl.so.2 (0x0000007f9089b000)
/lib/ld-linux-aarch64.so.1 (0x0000007f91144000)
libdbus-1.so.3 => /lib/aarch64-linux-gnu/libdbus-1.so.3 (0x0000007f90846000)
libgomp.so.1 => /usr/lib/aarch64-linux-gnu/libgomp.so.1 (0x0000007f90810000)
libsystemd.so.0 => /lib/aarch64-linux-gnu/libsystemd.so.0 (0x0000007f9077c000)
libselinux.so.1 => /lib/aarch64-linux-gnu/libselinux.so.1 (0x0000007f90748000)
liblzma.so.5 => /lib/aarch64-linux-gnu/liblzma.so.5 (0x0000007f90717000)
liblz4.so.1 => /usr/lib/aarch64-linux-gnu/liblz4.so.1 (0x0000007f906f8000)
libgcrypt.so.20 => /lib/aarch64-linux-gnu/libgcrypt.so.20 (0x0000007f90644000)
libpcre.so.3 => /lib/aarch64-linux-gnu/libpcre.so.3 (0x0000007f905cf000)
libgpg-error.so.0 => /lib/aarch64-linux-gnu/libgpg-error.so.0 (0x0000007f905ae000)

mpd

linux-vdso.so.1 (0x0000007f9b7bc000)
libsmbclient.so.0 => /usr/lib/aarch64-linux-gnu/libsmbclient.so.0 (0x0000007f9b655000)
libexpat.so.1 => /lib/aarch64-linux-gnu/libexpat.so.1 (0x0000007f9b620000)
libupnp.so.6 => /usr/lib/aarch64-linux-gnu/libupnp.so.6 (0x0000007f9b5de000)
libthreadutil.so.6 => /usr/lib/aarch64-linux-gnu/libthreadutil.so.6 (0x0000007f9b5c7000)
libixml.so.2 => /usr/lib/aarch64-linux-gnu/libixml.so.2 (0x0000007f9b5ab000)
libmpdclient.so.2 => /usr/lib/libmpdclient.so.2 (0x0000007f9b587000)
libcurl-gnutls.so.4 => /usr/lib/aarch64-linux-gnu/libcurl-gnutls.so.4 (0x0000007f9b508000)
libnfs.so.8 => /usr/lib/aarch64-linux-gnu/libnfs.so.8 (0x0000007f9b4c9000)
libFLAC.so.8 => /usr/lib/aarch64-linux-gnu/libFLAC.so.8 (0x0000007f9b467000)
libyajl.so.2 => /usr/lib/aarch64-linux-gnu/libyajl.so.2 (0x0000007f9b44e000)
libavahi-common.so.3 => /usr/lib/aarch64-linux-gnu/libavahi-common.so.3 (0x0000007f9b432000)
libavahi-client.so.3 => /usr/lib/aarch64-linux-gnu/libavahi-client.so.3 (0x0000007f9b413000)
libdbus-1.so.3 => /lib/aarch64-linux-gnu/libdbus-1.so.3 (0x0000007f9b3bc000)
libwrap.so.0 => /lib/aarch64-linux-gnu/libwrap.so.0 (0x0000007f9b3a3000)
libsqlite3.so.0 => /usr/lib/aarch64-linux-gnu/libsqlite3.so.0 (0x0000007f9b2ac000)
libogg.so.0 => /usr/lib/aarch64-linux-gnu/libogg.so.0 (0x0000007f9b294000)
libvorbis.so.0 => /usr/lib/aarch64-linux-gnu/libvorbis.so.0 (0x0000007f9b25e000)
libwavpack.so.1 => /usr/lib/aarch64-linux-gnu/libwavpack.so.1 (0x0000007f9b22b000)
libmad.so.0 => /usr/lib/aarch64-linux-gnu/libmad.so.0 (0x0000007f9b1fa000)
libmpg123.so.0 => /usr/lib/aarch64-linux-gnu/libmpg123.so.0 (0x0000007f9b19d000)
libopus.so.0 => /usr/lib/aarch64-linux-gnu/libopus.so.0 (0x0000007f9b14f000)
libavformat.so.57 => /usr/lib/aarch64-linux-gnu/libavformat.so.57 (0x0000007f9af3a000)
libavcodec.so.57 => /usr/lib/aarch64-linux-gnu/libavcodec.so.57 (0x0000007f99e3e000)
libavutil.so.55 => /usr/lib/aarch64-linux-gnu/libavutil.so.55 (0x0000007f99db9000)
libfaad.so.2 => /usr/lib/aarch64-linux-gnu/libfaad.so.2 (0x0000007f99d6d000)
libcdio_paranoia.so.1 => /usr/lib/aarch64-linux-gnu/libcdio_paranoia.so.1 (0x0000007f99d56000)
libcdio_cdda.so.1 => /usr/lib/aarch64-linux-gnu/libcdio_cdda.so.1 (0x0000007f99d3f000)
libcdio.so.13 => /usr/lib/aarch64-linux-gnu/libcdio.so.13 (0x0000007f99d0e000)
libasound.so.2 => /usr/lib/aarch64-linux-gnu/libasound.so.2 (0x0000007f99c13000)
libiso9660.so.8 => /usr/lib/aarch64-linux-gnu/libiso9660.so.8 (0x0000007f99bfa000)
libshout.so.3 => /usr/lib/aarch64-linux-gnu/libshout.so.3 (0x0000007f99bd8000)
libid3tag.so.0 => /usr/lib/aarch64-linux-gnu/libid3tag.so.0 (0x0000007f99bae000)
libz.so.1 => /lib/aarch64-linux-gnu/libz.so.1 (0x0000007f99b86000)
libsoxr.so.0 => /usr/lib/aarch64-linux-gnu/libsoxr.so.0 (0x0000007f99b25000)
libmp3lame.so.0 => /usr/lib/aarch64-linux-gnu/libmp3lame.so.0 (0x0000007f99aaa000)
libvorbisenc.so.2 => /usr/lib/aarch64-linux-gnu/libvorbisenc.so.2 (0x0000007f999fb000)
libicui18n.so.57 => /usr/lib/aarch64-linux-gnu/libicui18n.so.57 (0x0000007f99774000)
libicuuc.so.57 => /usr/lib/aarch64-linux-gnu/libicuuc.so.57 (0x0000007f995c1000)
libicudata.so.57 => /usr/lib/aarch64-linux-gnu/libicudata.so.57 (0x0000007f97d34000)
libsystemd.so.0 => /lib/aarch64-linux-gnu/libsystemd.so.0 (0x0000007f97ca2000)
libm.so.6 => /lib/aarch64-linux-gnu/libm.so.6 (0x0000007f97bf7000)
libstdc++.so.6 => /usr/lib/aarch64-linux-gnu/libstdc++.so.6 (0x0000007f97a66000)
libgcc_s.so.1 => /lib/aarch64-linux-gnu/libgcc_s.so.1 (0x0000007f97a42000)
libpthread.so.0 => /lib/aarch64-linux-gnu/libpthread.so.0 (0x0000007f97a16000)
libc.so.6 => /lib/aarch64-linux-gnu/libc.so.6 (0x0000007f978cc000)
libsamba-util.so.0 => /usr/lib/aarch64-linux-gnu/libsamba-util.so.0 (0x0000007f9784e000)
libtalloc-report.so.0 => /usr/lib/aarch64-linux-gnu/samba/libtalloc-report.so.0 (0x0000007f9783b000)
libtevent-util.so.0 => /usr/lib/aarch64-linux-gnu/libtevent-util.so.0 (0x0000007f97828000)
liblibsmb.so.0 => /usr/lib/aarch64-linux-gnu/samba/liblibsmb.so.0 (0x0000007f977b7000)
libmsrpc3.so.0 => /usr/lib/aarch64-linux-gnu/samba/libmsrpc3.so.0 (0x0000007f97789000)
libsamba-errors.so.1 => /usr/lib/aarch64-linux-gnu/libsamba-errors.so.1 (0x0000007f97632000)
liblibcli-lsa3.so.0 => /usr/lib/aarch64-linux-gnu/samba/liblibcli-lsa3.so.0 (0x0000007f9761e000)
libsamba-security.so.0 => /usr/lib/aarch64-linux-gnu/samba/libsamba-security.so.0 (0x0000007f975f2000)
libsmbconf.so.0 => /usr/lib/aarch64-linux-gnu/libsmbconf.so.0 (0x0000007f97573000)
libsamba3-util.so.0 => /usr/lib/aarch64-linux-gnu/samba/libsamba3-util.so.0 (0x0000007f97558000)
libndr.so.0 => /usr/lib/aarch64-linux-gnu/libndr.so.0 (0x0000007f97534000)
libsamba-debug.so.0 => /usr/lib/aarch64-linux-gnu/samba/libsamba-debug.so.0 (0x0000007f9751e000)
libcli-smb-common.so.0 => /usr/lib/aarch64-linux-gnu/samba/libcli-smb-common.so.0 (0x0000007f974e8000)
libgse.so.0 => /usr/lib/aarch64-linux-gnu/samba/libgse.so.0 (0x0000007f974b2000)
libutil-cmdline.so.0 => /usr/lib/aarch64-linux-gnu/samba/libutil-cmdline.so.0 (0x0000007f9749e000)
libndr-standard.so.0 => /usr/lib/aarch64-linux-gnu/libndr-standard.so.0 (0x0000007f971bb000)
libdcerpc-samba.so.0 => /usr/lib/aarch64-linux-gnu/samba/libdcerpc-samba.so.0 (0x0000007f97050000)
libsmbregistry.so.0 => /usr/lib/aarch64-linux-gnu/samba/libsmbregistry.so.0 (0x0000007f97024000)
libsecrets3.so.0 => /usr/lib/aarch64-linux-gnu/samba/libsecrets3.so.0 (0x0000007f96ffd000)
libbsd.so.0 => /lib/aarch64-linux-gnu/libbsd.so.0 (0x0000007f96fdb000)
libtalloc.so.2 => /usr/lib/aarch64-linux-gnu/libtalloc.so.2 (0x0000007f96fba000)
libtevent.so.0 => /usr/lib/aarch64-linux-gnu/libtevent.so.0 (0x0000007f96f9a000)
/lib/ld-linux-aarch64.so.1 (0x0000007f9b792000)
libnghttp2.so.14 => /usr/lib/aarch64-linux-gnu/libnghttp2.so.14 (0x0000007f96f6a000)
libidn2.so.0 => /usr/lib/aarch64-linux-gnu/libidn2.so.0 (0x0000007f96f38000)
librtmp.so.1 => /usr/lib/aarch64-linux-gnu/librtmp.so.1 (0x0000007f96f0d000)
libssh2.so.1 => /usr/lib/aarch64-linux-gnu/libssh2.so.1 (0x0000007f96ed7000)
libpsl.so.5 => /usr/lib/aarch64-linux-gnu/libpsl.so.5 (0x0000007f96eb8000)
libnettle.so.6 => /usr/lib/aarch64-linux-gnu/libnettle.so.6 (0x0000007f96e77000)
libgnutls.so.30 => /usr/lib/aarch64-linux-gnu/libgnutls.so.30 (0x0000007f96ce2000)
libgssapi_krb5.so.2 => /usr/lib/aarch64-linux-gnu/libgssapi_krb5.so.2 (0x0000007f96c93000)
libkrb5.so.3 => /usr/lib/aarch64-linux-gnu/libkrb5.so.3 (0x0000007f96bc3000)
libk5crypto.so.3 => /usr/lib/aarch64-linux-gnu/libk5crypto.so.3 (0x0000007f96b85000)
libcom_err.so.2 => /lib/aarch64-linux-gnu/libcom_err.so.2 (0x0000007f96b6f000)
liblber-2.4.so.2 => /usr/lib/aarch64-linux-gnu/liblber-2.4.so.2 (0x0000007f96b52000)
libldap_r-2.4.so.2 => /usr/lib/aarch64-linux-gnu/libldap_r-2.4.so.2 (0x0000007f96af9000)
libdl.so.2 => /lib/aarch64-linux-gnu/libdl.so.2 (0x0000007f96ae6000)
libnsl.so.1 => /lib/aarch64-linux-gnu/libnsl.so.1 (0x0000007f96ac1000)
libssh-gcrypt.so.4 => /usr/lib/aarch64-linux-gnu/libssh-gcrypt.so.4 (0x0000007f96a4e000)
libopenmpt.so.0 => /usr/lib/aarch64-linux-gnu/libopenmpt.so.0 (0x0000007f968bd000)
libgme.so.0 => /usr/lib/aarch64-linux-gnu/libgme.so.0 (0x0000007f96866000)
libbluray.so.1 => /usr/lib/aarch64-linux-gnu/libbluray.so.1 (0x0000007f96816000)
libchromaprint.so.1 => /usr/lib/aarch64-linux-gnu/libchromaprint.so.1 (0x0000007f967f4000)
libbz2.so.1.0 => /lib/aarch64-linux-gnu/libbz2.so.1.0 (0x0000007f967d4000)
libswresample.so.2 => /usr/lib/aarch64-linux-gnu/libswresample.so.2 (0x0000007f967ad000)
libva.so.1 => /usr/lib/aarch64-linux-gnu/libva.so.1 (0x0000007f96780000)
libzvbi.so.0 => /usr/lib/aarch64-linux-gnu/libzvbi.so.0 (0x0000007f966ef000)
libxvidcore.so.4 => /usr/lib/aarch64-linux-gnu/libxvidcore.so.4 (0x0000007f96606000)
libx265.so.95 => /usr/lib/aarch64-linux-gnu/libx265.so.95 (0x0000007f963f2000)
libx264.so.148 => /usr/lib/aarch64-linux-gnu/libx264.so.148 (0x0000007f9628d000)
libwebpmux.so.2 => /usr/lib/aarch64-linux-gnu/libwebpmux.so.2 (0x0000007f96272000)
libwebp.so.6 => /usr/lib/aarch64-linux-gnu/libwebp.so.6 (0x0000007f96217000)
libvpx.so.4 => /usr/lib/aarch64-linux-gnu/libvpx.so.4 (0x0000007f96085000)
libtwolame.so.0 => /usr/lib/aarch64-linux-gnu/libtwolame.so.0 (0x0000007f96055000)
libtheoraenc.so.1 => /usr/lib/aarch64-linux-gnu/libtheoraenc.so.1 (0x0000007f96013000)
libtheoradec.so.1 => /usr/lib/aarch64-linux-gnu/libtheoradec.so.1 (0x0000007f95fec000)
libspeex.so.1 => /usr/lib/aarch64-linux-gnu/libspeex.so.1 (0x0000007f95fc5000)
libsnappy.so.1 => /usr/lib/aarch64-linux-gnu/libsnappy.so.1 (0x0000007f95fad000)
libshine.so.3 => /usr/lib/aarch64-linux-gnu/libshine.so.3 (0x0000007f95f91000)
libopenjp2.so.7 => /usr/lib/aarch64-linux-gnu/libopenjp2.so.7 (0x0000007f95f4e000)
libgsm.so.1 => /usr/lib/aarch64-linux-gnu/libgsm.so.1 (0x0000007f95f34000)
liblzma.so.5 => /lib/aarch64-linux-gnu/liblzma.so.5 (0x0000007f95f03000)
libX11.so.6 => /usr/lib/aarch64-linux-gnu/libX11.so.6 (0x0000007f95dd2000)
libvdpau.so.1 => /usr/lib/aarch64-linux-gnu/libvdpau.so.1 (0x0000007f95dbe000)
libva-drm.so.1 => /usr/lib/aarch64-linux-gnu/libva-drm.so.1 (0x0000007f95dab000)
libva-x11.so.1 => /usr/lib/aarch64-linux-gnu/libva-x11.so.1 (0x0000007f95d96000)
librt.so.1 => /lib/aarch64-linux-gnu/librt.so.1 (0x0000007f95d7f000)
libtheora.so.0 => /usr/lib/aarch64-linux-gnu/libtheora.so.0 (0x0000007f95d2d000)
libgomp.so.1 => /usr/lib/aarch64-linux-gnu/libgomp.so.1 (0x0000007f95cf5000)
libselinux.so.1 => /lib/aarch64-linux-gnu/libselinux.so.1 (0x0000007f95cc1000)
liblz4.so.1 => /usr/lib/aarch64-linux-gnu/liblz4.so.1 (0x0000007f95ca2000)
libgcrypt.so.20 => /lib/aarch64-linux-gnu/libgcrypt.so.20 (0x0000007f95bee000)
libtime-basic.so.0 => /usr/lib/aarch64-linux-gnu/samba/libtime-basic.so.0 (0x0000007f95bdb000)
libsocket-blocking.so.0 => /usr/lib/aarch64-linux-gnu/samba/libsocket-blocking.so.0 (0x0000007f95bc7000)
libgenrand.so.0 => /usr/lib/aarch64-linux-gnu/samba/libgenrand.so.0 (0x0000007f95bb5000)
libkrb5samba.so.0 => /usr/lib/aarch64-linux-gnu/samba/libkrb5samba.so.0 (0x0000007f95b98000)
libcli-cldap.so.0 => /usr/lib/aarch64-linux-gnu/samba/libcli-cldap.so.0 (0x0000007f95b80000)
libcliauth.so.0 => /usr/lib/aarch64-linux-gnu/samba/libcliauth.so.0 (0x0000007f95b5e000)
libsys-rw.so.0 => /usr/lib/aarch64-linux-gnu/samba/libsys-rw.so.0 (0x0000007f95b4b000)
libgensec.so.0 => /usr/lib/aarch64-linux-gnu/samba/libgensec.so.0 (0x0000007f95b13000)
libcom_err-samba4.so.0 => /usr/lib/aarch64-linux-gnu/samba/libcom_err-samba4.so.0 (0x0000007f95b00000)
libasn1util.so.0 => /usr/lib/aarch64-linux-gnu/samba/libasn1util.so.0 (0x0000007f95aea000)
libndr-nbt.so.0 => /usr/lib/aarch64-linux-gnu/libndr-nbt.so.0 (0x0000007f95ac6000)
libsamba-hostconfig.so.0 => /usr/lib/aarch64-linux-gnu/libsamba-hostconfig.so.0 (0x0000007f95a90000)
libsmb-transport.so.0 => /usr/lib/aarch64-linux-gnu/samba/libsmb-transport.so.0 (0x0000007f95a7b000)
libsamba-credentials.so.0 => /usr/lib/aarch64-linux-gnu/libsamba-credentials.so.0 (0x0000007f95a58000)
libCHARSET3.so.0 => /usr/lib/aarch64-linux-gnu/samba/libCHARSET3.so.0 (0x0000007f95a45000)
libndr-samba.so.0 => /usr/lib/aarch64-linux-gnu/samba/libndr-samba.so.0 (0x0000007f95920000)
libdbwrap.so.0 => /usr/lib/aarch64-linux-gnu/samba/libdbwrap.so.0 (0x0000007f95906000)
libdcerpc-binding.so.0 => /usr/lib/aarch64-linux-gnu/libdcerpc-binding.so.0 (0x0000007f958d9000)
libutil-tdb.so.0 => /usr/lib/aarch64-linux-gnu/samba/libutil-tdb.so.0 (0x0000007f958c3000)
libsamba-sockets.so.0 => /usr/lib/aarch64-linux-gnu/samba/libsamba-sockets.so.0 (0x0000007f9589e000)
libinterfaces.so.0 => /usr/lib/aarch64-linux-gnu/samba/libinterfaces.so.0 (0x0000007f9588b000)
libmessages-dgm.so.0 => /usr/lib/aarch64-linux-gnu/samba/libmessages-dgm.so.0 (0x0000007f95872000)
libserver-id-db.so.0 => /usr/lib/aarch64-linux-gnu/samba/libserver-id-db.so.0 (0x0000007f9585e000)
libiov-buf.so.0 => /usr/lib/aarch64-linux-gnu/samba/libiov-buf.so.0 (0x0000007f9584a000)
libutil-reg.so.0 => /usr/lib/aarch64-linux-gnu/samba/libutil-reg.so.0 (0x0000007f95837000)
libmessages-util.so.0 => /usr/lib/aarch64-linux-gnu/samba/libmessages-util.so.0 (0x0000007f95825000)
libsmbd-shim.so.0 => /usr/lib/aarch64-linux-gnu/samba/libsmbd-shim.so.0 (0x0000007f95813000)
libutil-setid.so.0 => /usr/lib/aarch64-linux-gnu/samba/libutil-setid.so.0 (0x0000007f95801000)
libtdb-wrap.so.0 => /usr/lib/aarch64-linux-gnu/samba/libtdb-wrap.so.0 (0x0000007f957ee000)
libserver-role.so.0 => /usr/lib/aarch64-linux-gnu/samba/libserver-role.so.0 (0x0000007f957da000)
libtdb.so.1 => /usr/lib/aarch64-linux-gnu/libtdb.so.1 (0x0000007f957b6000)
libcap.so.2 => /lib/aarch64-linux-gnu/libcap.so.2 (0x0000007f957a0000)
libkrb5-samba4.so.26 => /usr/lib/aarch64-linux-gnu/samba/libkrb5-samba4.so.26 (0x0000007f9572f000)
libaddns.so.0 => /usr/lib/aarch64-linux-gnu/samba/libaddns.so.0 (0x0000007f95715000)
libgssapi-samba4.so.2 => /usr/lib/aarch64-linux-gnu/samba/libgssapi-samba4.so.2 (0x0000007f956d8000)
libauthkrb5.so.0 => /usr/lib/aarch64-linux-gnu/samba/libauthkrb5.so.0 (0x0000007f956ae000)
libcli-nbt.so.0 => /usr/lib/aarch64-linux-gnu/samba/libcli-nbt.so.0 (0x0000007f95694000)
libmsghdr.so.0 => /usr/lib/aarch64-linux-gnu/samba/libmsghdr.so.0 (0x0000007f95681000)
libunistring.so.0 => /usr/lib/aarch64-linux-gnu/libunistring.so.0 (0x0000007f95568000)
libhogweed.so.4 => /usr/lib/aarch64-linux-gnu/libhogweed.so.4 (0x0000007f95527000)
libgmp.so.10 => /usr/lib/aarch64-linux-gnu/libgmp.so.10 (0x0000007f954a7000)
libp11-kit.so.0 => /usr/lib/aarch64-linux-gnu/libp11-kit.so.0 (0x0000007f9543b000)
libidn.so.11 => /lib/aarch64-linux-gnu/libidn.so.11 (0x0000007f953f8000)
libtasn1.so.6 => /usr/lib/aarch64-linux-gnu/libtasn1.so.6 (0x0000007f953d7000)
libkrb5support.so.0 => /usr/lib/aarch64-linux-gnu/libkrb5support.so.0 (0x0000007f953ba000)
libkeyutils.so.1 => /lib/aarch64-linux-gnu/libkeyutils.so.1 (0x0000007f953a6000)
libresolv.so.2 => /lib/aarch64-linux-gnu/libresolv.so.2 (0x0000007f95381000)
libsasl2.so.2 => /usr/lib/aarch64-linux-gnu/libsasl2.so.2 (0x0000007f95359000)
libvorbisfile.so.3 => /usr/lib/aarch64-linux-gnu/libvorbisfile.so.3 (0x0000007f95341000)
libxml2.so.2 => /usr/lib/aarch64-linux-gnu/libxml2.so.2 (0x0000007f951ab000)
libfontconfig.so.1 => /usr/lib/aarch64-linux-gnu/libfontconfig.so.1 (0x0000007f95164000)
libfreetype.so.6 => /usr/lib/aarch64-linux-gnu/libfreetype.so.6 (0x0000007f950c3000)
libpng16.so.16 => /usr/lib/aarch64-linux-gnu/libpng16.so.16 (0x0000007f95087000)
libnuma.so.1 => /usr/lib/aarch64-linux-gnu/libnuma.so.1 (0x0000007f95069000)
libcairo.so.2 => /usr/lib/aarch64-linux-gnu/libcairo.so.2 (0x0000007f94f79000)
libxcb.so.1 => /usr/lib/aarch64-linux-gnu/libxcb.so.1 (0x0000007f94f49000)
libXext.so.6 => /usr/lib/aarch64-linux-gnu/libXext.so.6 (0x0000007f94f29000)
libdrm.so.2 => /usr/lib/aarch64-linux-gnu/libdrm.so.2 (0x0000007f94f0a000)
libXfixes.so.3 => /usr/lib/aarch64-linux-gnu/libXfixes.so.3 (0x0000007f94ef4000)
libpcre.so.3 => /lib/aarch64-linux-gnu/libpcre.so.3 (0x0000007f94e7f000)
libgpg-error.so.0 => /lib/aarch64-linux-gnu/libgpg-error.so.0 (0x0000007f94e5e000)
libasn1-samba4.so.8 => /usr/lib/aarch64-linux-gnu/samba/libasn1-samba4.so.8 (0x0000007f94de9000)
libcli-ldap-common.so.0 => /usr/lib/aarch64-linux-gnu/samba/libcli-ldap-common.so.0 (0x0000007f94dd2000)
libwinbind-client.so.0 => /usr/lib/aarch64-linux-gnu/samba/libwinbind-client.so.0 (0x0000007f94dbe000)
libldb.so.1 => /usr/lib/aarch64-linux-gnu/libldb.so.1 (0x0000007f94d82000)
libwbclient.so.0 => /usr/lib/aarch64-linux-gnu/libwbclient.so.0 (0x0000007f94d65000)
libsamba-modules.so.0 => /usr/lib/aarch64-linux-gnu/samba/libsamba-modules.so.0 (0x0000007f94d52000)
libsamdb.so.0 => /usr/lib/aarch64-linux-gnu/libsamdb.so.0 (0x0000007f94d2c000)
libsamdb-common.so.0 => /usr/lib/aarch64-linux-gnu/samba/libsamdb-common.so.0 (0x0000007f94cf4000)
libldbsamba.so.0 => /usr/lib/aarch64-linux-gnu/samba/libldbsamba.so.0 (0x0000007f94cb9000)
libheimbase-samba4.so.1 => /usr/lib/aarch64-linux-gnu/samba/libheimbase-samba4.so.1 (0x0000007f94ca5000)
libhx509-samba4.so.5 => /usr/lib/aarch64-linux-gnu/samba/libhx509-samba4.so.5 (0x0000007f94c58000)
libhcrypto-samba4.so.5 => /usr/lib/aarch64-linux-gnu/samba/libhcrypto-samba4.so.5 (0x0000007f94c1a000)
libroken-samba4.so.19 => /usr/lib/aarch64-linux-gnu/samba/libroken-samba4.so.19 (0x0000007f94bfc000)
libwind-samba4.so.0 => /usr/lib/aarch64-linux-gnu/samba/libwind-samba4.so.0 (0x0000007f94bc4000)
libndr-krb5pac.so.0 => /usr/lib/aarch64-linux-gnu/libndr-krb5pac.so.0 (0x0000007f94ba7000)
libauth-sam-reply.so.0 => /usr/lib/aarch64-linux-gnu/samba/libauth-sam-reply.so.0 (0x0000007f94b92000)
libffi.so.6 => /usr/lib/aarch64-linux-gnu/libffi.so.6 (0x0000007f94b7a000)
libpixman-1.so.0 => /usr/lib/aarch64-linux-gnu/libpixman-1.so.0 (0x0000007f94b12000)
libxcb-shm.so.0 => /usr/lib/aarch64-linux-gnu/libxcb-shm.so.0 (0x0000007f94aff000)
libxcb-render.so.0 => /usr/lib/aarch64-linux-gnu/libxcb-render.so.0 (0x0000007f94ae4000)
libXrender.so.1 => /usr/lib/aarch64-linux-gnu/libXrender.so.1 (0x0000007f94acb000)
libXau.so.6 => /usr/lib/aarch64-linux-gnu/libXau.so.6 (0x0000007f94ab8000)
libXdmcp.so.6 => /usr/lib/aarch64-linux-gnu/libXdmcp.so.6 (0x0000007f94aa0000)
libflag-mapping.so.0 => /usr/lib/aarch64-linux-gnu/samba/libflag-mapping.so.0 (0x0000007f94a8d000)

Hmm, pulse audio however (with library) should be installed automatically when selecting a sound card. Does it work when installing the library/pulseaudio manually?

Not work.
The pulseaudio was installed by command apt. The library libpulse found in the system.

/usr/lib/aarch64-linux-gnu/libpulse.so.0
/usr/lib/aarch64-linux-gnu/libpulse.so.0.20.1

Attempted to install pulseaudio-asla see if it can get around. Unfortunately, the module is not exists in the repo.

ShingChoy
Why actually do you use PulseAudio? DietPi by default sets up systems with ALSA (and jep sorry, so PulseAudio libs and such are NOT installed, when selecting sound cards via DietPi-Config). I am not too deep inside these audio topics, but possible that something within MPD or any other config is conflicting with PulseAudio currently.

If you somehow need to go with Pulse, I guess you have to dig around how to install a pulse plugin for MPD.

@MichaIng

The story back to the use-case of attaching bluetooth speaker/headset with a USB Bluetooth dongle on Rock64 running dietpi.
From the ALSA sound card config, it only show up the HDMI and SPDIF. I tried the bluealsa, which facilitate the connection of bluetooth speaker and it connected, but the sound output is not acceptable. Hence, the pulseaduio comes to the picture.

**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDMI], device 0: ff000000.i2s-i2s-hifi i2s-hifi-0
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: SPDIF [SPDIF], device 0: ff030000.spdif-dit-hifi dit-hifi-0
Subdevices: 0/1
Subdevice #0: subdevice #0

I notice dietpi is natively come with ALSA, but not pulseaudio. Happy to know if other means the enable the connection of bluetooth speaker with Dietpi.

Thanks a lot