Thanks IredellMon for your help on this! Between fighting a bad cold, and work, haven't much time to work on this.
Yes!, finally got the dang buffer overruns to stop by changing the DEVICE from
hw:1,0 to
plughw:1,0 You may not see this mentioned in Steffens and others postings on config settings so it a big gotcha. Also IredellMon suggested commenting out the dump file which is a great idea for those not interested in saving recordings.
Some other things that helped me:
-Use Putty and SSH into the Raspberry Pi, much easier than using a Keyboard/Mouse.
Just get the ip address of the Pi, from your device list on your router, or hit ifconfig on the Pi. Then dump the keyboard/mouse, and just Putty into the Pi. You can now copy/paste Steffens Darkice compile commands into the Pi.
-Chinese C-Media USB sound cards will default to AGC ON, this will blast the audio. You can turn it off by tabbing to AGC in Alsamixer and hitting the "M" key.
-"LameLibEncoder.cpp:75: lame lib opening underlying sink error [0] is Darkice's funny way of telling you it's not connecting to the server! Nice.
-Don't use a leading slash in your mountpoint like the Windows encoder, Linux doesn't need it.
-Excellent link found by IredellMon
here on the Alsa device settings.
-You shouldn't need to overclock, but you can do it to speed up the compiling process.
I know this stuff is obvious to you smart guys, just throwing that out there for newbies from going through the fist pounding and forehead slapping that I went through
I am using one of those chinese C-Media USB dongles.
My next hurtle is to get it to sound as good as it did on the windows machine. before allowing this thing to go on-air. Tinkering with levels and quality settings don't seem to help. My co-worker has been tinkering with this R-pi project too, and got better audio by going to a better quality unit know as the
Griffin Imic These can average about $30 bucks on Amazon so this will obviously bump up the cost of a low cost streaming setup.