]> git.pld-linux.org Git - packages/alsa-utils.git/commitdiff
- merged from DEVEL
authoraflinta <aflinta@pld-linux.org>
Sat, 26 Oct 2002 18:57:54 +0000 (18:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    alsasound -> 1.4

alsasound

index aaef45654f6854f61e8b0cd5f930b9e15b32ac4c..07322b0f6633f7a53f04377ba80ff22abdc8fe62 100644 (file)
--- a/alsasound
+++ b/alsasound
@@ -53,21 +53,6 @@ driver_start()
       /sbin/modprobe $line
       ok
     done
-  #
-  # set (non-)blocking state of pcm devices
-  #
-  for card in /proc/asound/[0-9]; do
-    card=`echo $card | awk '{ sub(/^.*\//, ""); print $0 }'`
-    for dev in /proc/asound/$card/pcmD[0-9]o; do
-      dev=`echo $dev | awk '{ sub(/^.*pcmD/, ""); sub(/o$/, ""); print $0 }'`
-      show "Setting up blocking state for card $card device $dev"
-      busy
-      echo "Playback erase" > /proc/asound/$card/pcmD${dev}o
-      echo "Capture erase" > /proc/asound/$card/pcmD${dev}o
-      awk -v CARD=$card '($1 ~ CARD || $1 ~ /\*/) { $1 = ""; sub(/^ /, ""); print $0}' < /etc/sysconfig/alsa-oss-pcm > /proc/asound/$card/pcmD${dev}o
-      ok
-    done
-  done
   if [ -n "$OLDLOGLEV" ]; then
        /sbin/loglevel "$OLDLOGLEV"
   fi
This page took 0.030997 seconds and 4 git commands to generate.