rafael2k / darkice

DarkIce is a live audio streamer. It records audio from an audio interface (e.g. sound card), encodes it and sends it to a streaming server. This is the official development repository of Darkice.
http://www.darkice.org
198 stars 46 forks source link

Can't Open Connector [Errono: 1273] #127

Closed Teku16 closed 7 years ago

Teku16 commented 7 years ago

Hi there, I am new to this and I'm trying to get the RPI to see my usb sound card and utilize it. The RPI lists the card with lsusb, and seems to be fine identifying it.

I am trying to use sudo darkice -v 5 -c /etc/stream1.cfg and the output is: Using config file: /etc/stream1.cfg 14-Sep-2017 15:09:27 Using ALSA DSP input device: hw:0,0 14-Sep-2017 15:09:27 buffer size: 441000 14-Sep-2017 15:09:27 encoding 14-Sep-2017 15:09:27 Using POSIX real-time scheduling, priority 4 DarkIce: DarkIce.cpp:1273: can't open connector [0]

Here is the stream1.cfg file: https://pastebin.com/Su9CReUY

Any help would be greatly appreciated.

I have tried the device as the following parameters already: hw:0,0 ; hwplug:0,0 ; device ; 0 ; default ; default:0,0 to no avail.

Teku16 commented 7 years ago

To any who may have this issue in the future, the problem was apparently that the device needed to be hw:1,0. Sorry for creating a issue, it is now resolved.