darkice doesn't accept pulseaudio input
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
darkice (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Darkice on Ubuntu does not accept pulseaudio input. It thinks it's an ALSA input, and fails to open it.
tygris@
DarkIce 1.0 live audio streamer, http://
Copyright (c) 2000-2007, Tyrell Hungary, http://
Copyright (c) 2008-2010, Akos Maroy and Rafael Diniz
This is free software, and you are welcome to redistribute it
under the terms of The GNU General Public License version 3 or
any later version.
Using config file: darkice.cfg
Using ALSA DSP input device: pulseaudio
Could not set POSIX real-time scheduling, this may cause recording skips.
Try to run darkice as the super-user.
ALSA lib pcm.c:2239:
DarkIce: DarkIce.cpp:1187: can't open connector [0]
tygris@
This is a compile configuration bug, since I can compile it with pulseaudio input on Gentoo and works flawlessly -- it picks up the audio from PulseAudio (in this case input from an iPad 4 being sent via Bluetooth, thus th need for PulseAudio) and sends it to Icecast 2 on a Debian ARM system.
Release: 13.10
Package version: 1.0-1ubuntu1
I confirm this. I am on a Dell Inspiron N5110, everything works well with Lubuntu 14.04 fresh install.
I also installed audacity pulse, pavucontrol.
By default alsa records my integrated microphone only, by playing with pavu i was able to record the pulse loopback.
I also see audacity when i am recording, on pavucontroland i was able to change the source on it like many tutorials suggest.
With darkice i can on record my microphone on alsa loopback.
I use the following config: in /etc/darkice.cfg
[general]
duration=0
bufferSecs=1
reconnect=yes
[input] pci-0000_ 00_1b.0. analog- stereo
#device=default
device = pulse # OSS DSP soundcard device for the audio input
#paSourceName = alsa_input.
sampleRate = 44100
bitsPerSample = 16
channel = 2
[icecast2-0] mawebradio. fr
bitrateMode=vbr
quality=1.0
format=mp3
server=localhost
port=8000
password=hackme
mountPoint=radio1
name=mawebradio
description=Une super radio...
url=http://
genre=hardcore
The result when i launch sudo darkice is:
$ sudo darkice code.google. com/p/darkice/ tyrell. hu/
DarkIce 1.0 live audio streamer, http://
Copyright (c) 2000-2007, Tyrell Hungary, http://
Copyright (c) 2008-2010, Akos Maroy and Rafael Diniz
This is free software, and you are welcome to redistribute it
under the terms of The GNU General Public License version 3 or
any later version.
Using config file: /etc/darkice.cfg 243:(pulse_ connect) PulseAudio: Unable to connect: Connection refused
Using ALSA DSP input device: pulse
Using POSIX real-time scheduling, priority 98
Home directory not accessible: Permission denied
Home directory not accessible: Permission denied
ALSA lib pulse.c:
DarkIce: DarkIce.cpp:1187: can't open connector [0]
I used the default repo packages (sudo apt-get install icecast2 darkice ...)
With this working i could stream my music form my laptop to my windows phone linked to my stereo ^^