pipewire-alsa: files installed to wrong directory
I was trying to get pipeweire work according to the wiki https://wiki.alpinelinux.org/wiki/PipeWire#ALSA I don't have Jack or PulseAudio, I only need pipewire to emulate alsa.
According to official documentation (https://gitlab.freedesktop.org/pipewire/pipewire/-/blob/master/INSTALL.md#alsa-plugin)
aplay -L
should list pipewire pcm device. In my case it did not happen.
I noticed that plugin files were installed to the wrong directory: instead of /etc/alsa/conf.d
files 99-pipewire-default.conf
and 50-pipewire.conf
appeared in /etc/alsa/alsa.conf.d
I believe the buggy line in APKBUILD is this: https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/community/pipewire/APKBUILD#L108
Why I think this is a bug:
Similar package alsa-plugins
installs plugins into /etc/alsa/conf.d
-> https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/community/alsa-plugins/APKBUILD#L98
How I fixed it:
I moved files 99-pipewire-default.conf
and 50-pipewire.conf
into /etc/alsa/conf.d
And then pipewire PCM device appeared and sound started working. (alsamixer shows pipewire device, aplay -L
shows pipewire too