device-fairphone-fp4: Fix USB audio DACs
The current pipewire rule was forcing every output sink to use the S32LE format, which caused problems with DACs that do not support this format. To ensure only the built-in sinks are matched, we manually specify the alsa card name in the pipewire rule matcher. Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8363>
This commit is contained in:
parent
33e4ce4dc8
commit
adf05d8067
2 changed files with 4 additions and 3 deletions
|
|
@ -2,8 +2,9 @@ monitor.alsa.rules = [
|
|||
{
|
||||
matches = [
|
||||
{
|
||||
# Matches all sinks
|
||||
# Matches all sinks of the internal sound card
|
||||
node.name = "~alsa_output.*"
|
||||
alsa.card_name = "Fairphone 4"
|
||||
}
|
||||
]
|
||||
actions = {
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
maintainer="Luca Weiss <luca@lucaweiss.eu>"
|
||||
pkgname=device-fairphone-fp4
|
||||
pkgdesc="Fairphone 4"
|
||||
pkgver=9
|
||||
pkgver=10
|
||||
pkgrel=0
|
||||
url="https://postmarketos.org"
|
||||
license="MIT"
|
||||
|
|
@ -71,7 +71,7 @@ openrc() {
|
|||
}
|
||||
|
||||
sha512sums="
|
||||
f6fb26e0e75b15cf727e8a20f34e4132cf357025fff1427cf63729776aedce6e647f9f81f1ec13d0a895e381c119980d8bca575e431d241d9affb4f0ee44f4b4 52-fairphone-fp4.conf
|
||||
fdf1973c32c3834f2e1194d2366fbe1ce6b1ac6ee6211fb720677793f3dcea9adaeeada0e7284d72de848692939e2bc2977997d72ab2126d4f4f8c19428ac846 52-fairphone-fp4.conf
|
||||
2c16ba75e0077b2b1eaefa4c73b287475505a1aeb291ec29316d41cc094277320f9d2aaabfd91eb1dc0f488ab2d61a94faef16e7afe0f1e226779113761b9a37 81-libssc-fairphone-fp4.rules
|
||||
0b56ac5bcd8ec44de9a5f6939b95f7bd1b90d86f1fe8f21f5a0f2bf753445845f540932c0ddc09965bab48ddc0b092b03892240f43e421b265e4b5d76ab3b8db deviceinfo
|
||||
52bb7ed829caa4dcff9728bd6e3cdf118b3c7ee7dfe90df0d4e6422dd67bf3258ae2a4d2dc7599da4182fbd8eb47a0e1d20c58198dc17f2bf178b8f01a8887f7 modules-initfs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue