<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    I think this is indeed the case.  I was finding the cron run from
    root worked also and the .asoundrc was in the pi user.<br>
    <br>
    Makes it even simpler.<br>
    <br>
    <div class="moz-cite-prefix">On 01/04/2016 13:12, Paul Davis wrote:<br>
    </div>
    <blockquote
cite="mid:CAFa_cKmp+VmUhet6afNEYqOZrktM1a=nhUL=9eEVFUm7_N0J-Q@mail.gmail.com"
      type="cite">
      <div dir="ltr">I would state with almost absolute certainty that
        your .asoundrc file has no part to play here. The thing that
        made it work is telling darkice to use plughw:.... rather than
        hw:... which allows ALSA to fake the hardware setup that darkice
        says it wants. When you use hw:... you can only use hardware
        parameters that are directly supported by the hardware itself,
        which sometimes are not the ones you want/need to use.<br>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Fri, Apr 1, 2016 at 6:24 AM, Ben
          Edwards <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:ben@funkytwig.com" target="_blank">ben@funkytwig.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000"> OK, got it working,
              used .~/asoundrc<br>
              <blockquote>pcm_slave.sl3 {<br>
                   pcm "plughw:1,0"<br>
                   channels 2<br>
                   rate 44100<br>
                }<br>
                <br>
                pcm.complex_convert {<br>
                   type plug<br>
                   format S16_LE<br>
                   slave sl3<br>
                }<br>
              </blockquote>
              And the darkice.cfg input section is <br>
              <br>
              <blockquote>[input]<br>
                device          = plughw:1,0    # Alsa soundcard device
                for the audio input (barenger)<br>
                sampleRate      = 44100     # sample rate in Hz. try
                11025, 22050 or 44100<br>
                bitsPerSample   = 16<br>
                channel         = 2         # channels. 1 = mono, 2 =
                stereo<br>
              </blockquote>
              Ben<br>
              <br>
              <br>
              <div>On 01/04/2016 11:03, Niels Dettenbach wrote:<br>
              </div>
              <blockquote type="cite">
                <pre>Am Freitag, 1. April 2016, 10:53:03 schrieb Ben Edwards:
</pre>
                <blockquote type="cite">
                  <pre>OK, just tried that
</pre>
                </blockquote>
                <pre>...i've figured out that we have a few 24bit consumer interfaces (USB) too 
running with darkice.

so it *should* work...

could you try pls:

        device          = plughw:0
or
        device          = plughw:1

instead?

I had to use this instead of the
        device          = hw:0,0

If that did not help, i would try to disable realtime for first until it is 
working (just as a shot)...

hth
</pre>
                <span class="HOEnZb"><font color="#888888"> </font></span></blockquote>
              <span class="HOEnZb"><font color="#888888"> <br>
                  <div>-- <br>
                    <font style="color:#20b2aa"> <b>Ben Edwards, Video
                        Editor/Colorist & Cameraman</b><br>
                      w:<a moz-do-not-send="true"
                        href="http://www.funkytwig.com" target="_blank">www.funkytwig.com</a>
                      t. 01179 118 144 m.:07773 02 44 82<br>
                      <a moz-do-not-send="true">skype:funkytwig</a>
                      twitter:@funkytwig<br>
                      PGP Public key available from <a
                        moz-do-not-send="true" href="http://pgp.mit.edu"
                        target="_blank">pgp.mit.edu</a><br>
                    </font>
                    <p><font style="color:#20b2aa"> <small>If you are a
                          freelancer FreeAgent is a great system to do
                          your accounts,<br>
                          if you use <a moz-do-not-send="true"
                            href="http://www.freeagent.com/?referrer=42j4d743"
                            target="_blank">http://www.freeagent.com/?referrer=42j4d743</a><br>
                          (referral code is 42j4d743) you get 10% off
                          each month.<small> </small></small></font></p>
                  </div>
                </font></span></div>
            <br>
            _______________________________________________<br>
            Linux-audio-user mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:Linux-audio-user@lists.linuxaudio.org">Linux-audio-user@lists.linuxaudio.org</a><br>
            <a moz-do-not-send="true"
              href="http://lists.linuxaudio.org/listinfo/linux-audio-user"
              rel="noreferrer" target="_blank">http://lists.linuxaudio.org/listinfo/linux-audio-user</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      <font style="color:#20B2AA">
        <b>Ben Edwards, Video Editor/Colorist & Cameraman</b><br>
        w:www.funkytwig.com t. 01179 118 144 m.:07773 02 44 82<br>
        <a class="moz-txt-link-freetext" href="skype:funkytwig">skype:funkytwig</a> twitter:@funkytwig<br>
        PGP Public key available from pgp.mit.edu<br>
      </font>
      <p><font style="color:#20B2AA">
          <small>If you are a freelancer FreeAgent is a great system to
            do your accounts,<br>
            if you use <a class="moz-txt-link-freetext" href="http://www.freeagent.com/?referrer=42j4d743">http://www.freeagent.com/?referrer=42j4d743</a><br>
            (referral code is 42j4d743) you get 10% off each month.<small>
            </small></small></font></p>
    </div>
  </body>
</html>