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.

On Fri, Apr 1, 2016 at 6:24 AM, Ben Edwards <ben@funkytwig.com> wrote:
OK, got it working, used .~/asoundrc
pcm_slave.sl3 {
   pcm "plughw:1,0"
   channels 2
   rate 44100
}

pcm.complex_convert {
   type plug
   format S16_LE
   slave sl3
}
And the darkice.cfg input section is

[input]
device          = plughw:1,0    # Alsa soundcard device for the audio input (barenger)
sampleRate      = 44100     # sample rate in Hz. try 11025, 22050 or 44100
bitsPerSample   = 16
channel         = 2         # channels. 1 = mono, 2 = stereo
Ben


On 01/04/2016 11:03, Niels Dettenbach wrote:
Am Freitag, 1. April 2016, 10:53:03 schrieb Ben Edwards:
OK, just tried that
...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

--
Ben Edwards, Video Editor/Colorist & Cameraman
w:www.funkytwig.com t. 01179 118 144 m.:07773 02 44 82
skype:funkytwig twitter:@funkytwig
PGP Public key available from pgp.mit.edu

If you are a freelancer FreeAgent is a great system to do your accounts,
if you use http://www.freeagent.com/?referrer=42j4d743
(referral code is 42j4d743) you get 10% off each month.


_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user