pmaports/device/main/device-pine64-pinephone/00_alsa_pinephone_dshare.conf
Oliver Smith 4b8f37e46e
pine64-pinephone: move shelli alsa cfg to subpkg (MR 1902)
Move the shelli-specific alsa config from MR 1741 into a subpackage that
only gets installed together with shelli.

With the config installed, programs using alsa instead of pulseaudio,
can't be controlled through the volume setting in Phosh anymore (and
probably other UIs too). Shelli doesn't use pulseaudio.

Change the path of the config file like in MR 1877, so it's easier to
override it if necessary.

While at it, improve the APKBUILD slightly by fixing the install_if of
the phosh subpkg (should depend on =$pkgver-r$pkgrel, see APKBUILD
reference), and fix long lines.
2021-01-27 09:29:03 +01:00

14 lines
177 B
Text

pcm_slave.sl2 {
pcm "hw:0,0"
rate 88200
}
pcm.!default {
type plug
slave.pcm {
type dshare
ipc_key 1023984
slave sl2
bindings [ 0 1 ]
}
}