device-lenovo-21bx: workaround pipewire audio playback issues (MR 5065)
Override the buffer size seems to help somewhat with audio playback under pipewire.
This commit is contained in:
parent
3930c181e9
commit
9906d59ea4
2 changed files with 16 additions and 3 deletions
|
@ -3,7 +3,7 @@
|
||||||
# Reference: <https://postmarketos.org/devicepkg>
|
# Reference: <https://postmarketos.org/devicepkg>
|
||||||
pkgname=device-lenovo-21bx
|
pkgname=device-lenovo-21bx
|
||||||
pkgdesc="Lenovo ThinkPad X13s"
|
pkgdesc="Lenovo ThinkPad X13s"
|
||||||
pkgver=7
|
pkgver=8
|
||||||
pkgrel=0
|
pkgrel=0
|
||||||
url="https://postmarketos.org"
|
url="https://postmarketos.org"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
|
@ -26,12 +26,14 @@ depends="
|
||||||
makedepends="devicepkg-dev"
|
makedepends="devicepkg-dev"
|
||||||
source="
|
source="
|
||||||
deviceinfo
|
deviceinfo
|
||||||
modules-initfs
|
|
||||||
firmware.files
|
firmware.files
|
||||||
|
modules-initfs
|
||||||
|
pipewire.conf
|
||||||
usbguard.conf
|
usbguard.conf
|
||||||
"
|
"
|
||||||
subpackages="
|
subpackages="
|
||||||
$pkgname-usbguard
|
$pkgname-usbguard
|
||||||
|
$pkgname-pipewire
|
||||||
$pkgname-vulkan
|
$pkgname-vulkan
|
||||||
"
|
"
|
||||||
install="$pkgname.post-install"
|
install="$pkgname.post-install"
|
||||||
|
@ -60,9 +62,16 @@ usbguard() {
|
||||||
devicepkg_package $startdir $pkgname
|
devicepkg_package $startdir $pkgname
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pipewire() {
|
||||||
|
install_if="$pkgname=$pkgver-r$pkgrel pipewire"
|
||||||
|
install -Dm644 "$srcdir"/pipewire.conf \
|
||||||
|
"$subpkgdir"/usr/share/pipewire/pipewire.conf.d/"$pkgname".conf
|
||||||
|
}
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
c3570f44cd0134fd7400a5467cfddb3c1877a771fda8006228d1b0fd81536171ece53bf7562fc0e11dcc1fd3c6830e324e0d5ad9fdc4e16b53107fa3a04004fb deviceinfo
|
c3570f44cd0134fd7400a5467cfddb3c1877a771fda8006228d1b0fd81536171ece53bf7562fc0e11dcc1fd3c6830e324e0d5ad9fdc4e16b53107fa3a04004fb deviceinfo
|
||||||
5e91aebdd5aa84eef2660c5cbecd27b1c3662f1707538d53764a74dc1e6cbac451b1041b9aaab92f087d44630036b10e5155a993dd4b2e54cba81637ddb47593 modules-initfs
|
|
||||||
82f7719285434d8c7a5268ddc21d513bb3f3788eb3dd2df099e1c245add9d19719047b003a47edb077e095ebe09d9601b1312c001578e7dfa4ed61d72098ef74 firmware.files
|
82f7719285434d8c7a5268ddc21d513bb3f3788eb3dd2df099e1c245add9d19719047b003a47edb077e095ebe09d9601b1312c001578e7dfa4ed61d72098ef74 firmware.files
|
||||||
|
5e91aebdd5aa84eef2660c5cbecd27b1c3662f1707538d53764a74dc1e6cbac451b1041b9aaab92f087d44630036b10e5155a993dd4b2e54cba81637ddb47593 modules-initfs
|
||||||
|
52bbb9564ec713db5d46937701b121afe0c6c644fffe189a05766f491b4997b1bbc4c1f90229efb5764d795df8d40a57d4c840ee4b32d426e7a84520364b8bf5 pipewire.conf
|
||||||
0d0412eb1f01af39000c39391f622640461305d83dae1a53aa7eef640cc17fd265cabca4e4e57dea053c47a4e50f9feb90f12ee5310d5b6425783e83efc5f9d8 usbguard.conf
|
0d0412eb1f01af39000c39391f622640461305d83dae1a53aa7eef640cc17fd265cabca4e4e57dea053c47a4e50f9feb90f12ee5310d5b6425783e83efc5f9d8 usbguard.conf
|
||||||
"
|
"
|
||||||
|
|
4
device/testing/device-lenovo-21bx/pipewire.conf
Normal file
4
device/testing/device-lenovo-21bx/pipewire.conf
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
context.properties = {
|
||||||
|
default.clock.quantum = 1024
|
||||||
|
default.clock.min-quantum = 1024
|
||||||
|
}
|
Loading…
Reference in a new issue