Accepting request 262042 from multimedia:libs
1 OBS-URL: https://build.opensuse.org/request/show/262042 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/alsa?expand=0&rev=157
This commit is contained in:
commit
745a5ea191
@ -5,10 +5,8 @@
|
|||||||
test -s /var/lib/alsa/asound.state && /usr/sbin/alsactl -F restore $1 >/dev/null 2>&1
|
test -s /var/lib/alsa/asound.state && /usr/sbin/alsactl -F restore $1 >/dev/null 2>&1
|
||||||
# increase buffer-preallocation size (for PA)
|
# increase buffer-preallocation size (for PA)
|
||||||
if [ -f /proc/asound/card$1/pcm0p/sub0/prealloc_max ]; then
|
if [ -f /proc/asound/card$1/pcm0p/sub0/prealloc_max ]; then
|
||||||
pmax=$(< /proc/asound/card$1/pcm0p/sub0/prealloc_max)
|
[ $(cat /proc/asound/card$1/pcm0p/sub0/prealloc_max) -le 1024 ] ||
|
||||||
if [ $pmax -gt 1024 ]; then
|
|
||||||
echo 1024 > /proc/asound/card$1/pcm0p/sub0/prealloc
|
echo 1024 > /proc/asound/card$1/pcm0p/sub0/prealloc
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Nov 16 18:10:00 UTC 2014 - Led <ledest@gmail.com>
|
||||||
|
|
||||||
|
- fix bashism in alsa-init.sh scripts
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Oct 17 11:48:23 CEST 2014 - tiwai@suse.de
|
Fri Oct 17 11:48:23 CEST 2014 - tiwai@suse.de
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user