Merge pull request #5185 from HiassofT/le10-rpi-alsa-prealloc

RPi: add udev rule to increase alsa buffer size to 1.2MB
This commit is contained in:
Christian Hewitt 2021-02-26 07:14:11 +04:00 committed by GitHub
commit e12ff4354f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,3 @@
ACTION=="add", SUBSYSTEM=="sound", KERNEL=="pcmC*", ATTRS{id}=="vc4hdmi*", \
ENV{.snd_card}="$id", \
RUN+="/bin/sh -c 'echo 1280 > /proc/asound/$env{.snd_card}/pcm0p/sub0/prealloc'"