Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2
alsa
alsa-init.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File alsa-init.sh of Package alsa
#!/bin/sh # alsa-init card# /usr/bin/set_default_volume -f $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) if [ -f /proc/asound/card$1/pcm0p/sub0/prealloc_max ]; then [ $(cat /proc/asound/card$1/pcm0p/sub0/prealloc_max) -le 1024 ] || echo 1024 > /proc/asound/card$1/pcm0p/sub0/prealloc fi exit 0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor