title: ALSA: asound.conf file read but not used with arecord
body: <p>I'm using ALSA to configure a mic, but after some hours of search on stackoverflow/alsa doc/other sources, I don't understand how arecord work...</p>
  
  <p>I'm trying to set a default record</p>
  
  <blockquote>
    <p>Signed 16 bit Little Endian, Fréquence 48000 Hz, Stéréo</p>
  </blockquote>
  
  <p>The equivalent <code>arecord</code> CLI command is (in my case) :</p>
  
  <p><code>arecord /tmp/test.wav -f dat -D sysdefault:CARD=1</code></p>
  
  <p>I try to do that with /etc/asound.conf</p>
  
  <p>I write this :</p>
  
  <pre><code>pcm.!default {
    type asym
    playback.pcm {
      type plug
      slave.pcm "hw:1,0"
    }
    capture.pcm "multi"
  }
  
  pcm.multi {
    type plug
    slave.pcm "multiapps"
  }
  
  pcm.multiapps {
    type dsnoop
    ipc_key 666666
    slave {
      pcm "hw:1,0"
      format "S16_LE"
      rate 48000
    }
  }
  
  ctl.!default {
    type hw
    card 1
  }
  </code></pre>
  
  <p>But when I try a simple :</p>
  
  <p><code>arecord /tmp/test.wav</code> or <code>arecord /tmp/test.wav -D default</code></p>
  
  <p>It fails with</p>
  
  <blockquote>
    <p>Capture WAVE '/tmp/test.wav' : Unsigned 8 bit, Fréquence 8000 Hz, Mono
    arecord: set_params:1299: Ce format d'échantillonage n'est pas
    disponible Available formats:
    - S16_LE</p>
  </blockquote>
  
  <p>Just to test, I try with</p>
  
  <p><code>arecord /tmp/test.wav -D multi</code></p>
  
  <p>I have a half success, it works but with bad configuration </p>
  
  <blockquote>
    <p>Capture WAVE '/tmp/test.wav' : Unsigned 8 bit, Fréquence 8000 Hz, Mono</p>
  </blockquote>
  
  <p>Can someone explain to me what I missed ? :|</p>
  
  <p>Thanks !</p>
  
  <p><strong>-- EDIT --</strong></p>
  
  <p>I realize that /etc/asound.conf is overlapped by ~/.asound.</p>
  
  <p>So, I copied the first in the second.</p>
  
  <p>No more fatal on default, but always in 8k/8bit...</p>