Hello Darkice enthuses,
Long time Darkice user trying to expand features to use with Darkice. My goal
is to add a Dyson compressor via PulseAudio to the Darkice stream. So my
specific question has to do with getting Darkice to sink a PulseAudio output.
The errors I am getting are: ALSA lib pulse.C:243:(pulse_connect) PulseAudio:
Unable to connect: Connection refused and DarkIce: Darkice.cpp:1187: can't open
connector
I am starting with a system that has the darkice.cfg file using: device =
hw:1,0
and the system takes the source from the sound card I am using and provides it
to the Darkice application and the stream is working.
Next I start PulseAudio with: pulseaudio --start
I try to run darkice again and it won't run because Pulse audio took control
of the source. This is OK I think
Running pavucontrol and looking under the Input devices tab, I can see the VU
meter moving in sync with the audio I generate with a local microphone. So I
know PulseAudio is receiving the source from the sound card.
What I have tried has been different ways to express "device" in the
darkice.cfg file and adjustments using the pavucontrol for the PulseAudio
configuration.
Different ways I have tried to define PulseAudio as the source for Darkice in
the darkice.cfg file that have not worked.
1. device = default
2. device = pulse #On the Ubuntu manpages for darkice.cfg,
it says to use "pulseaudio" for the device.
#If you use that you will get this
error: Unknown PCM pulseaudio
3. device = pulse
paSourceName = 4
4. device = pulse
paSourceName = default
5. device = pulse
paSourceName = bmc2835 ALSA
6. device = /dev/dsp #Then use: sudo padsp darkice to start
Darkice
Another way to word my problem is: I am getting input to PulsAudio and want to
know how to get Darkice to use this available PulseAudio signal for streaming.
Any suggestions would be appreciate. Thank-you for your support!
Joel Goodwin
Hardware configuration: Cirrus Logic sound card, Raspberry Pi 3
Sofrware: Darkice-1.3 and PulseAudio(The version that came with Raspbian)
running on Raspbian Jessie with PIXEL 2017-03-02