Comment 2 for bug 1306978

Revision history for this message
Jérémy Munsch (jeremy-munsch) wrote :

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]
#device=default
device = pulse # OSS DSP soundcard device for the audio input
#paSourceName = alsa_input.pci-0000_00_1b.0.analog-stereo
sampleRate = 44100
bitsPerSample = 16
channel = 2

[icecast2-0]
bitrateMode=vbr
quality=1.0
format=mp3
server=localhost
port=8000
password=hackme
mountPoint=radio1
name=mawebradio
description=Une super radio...
url=http://mawebradio.fr
genre=hardcore

The result when i launch sudo darkice is:

$ sudo darkice
DarkIce 1.0 live audio streamer, http://code.google.com/p/darkice/
Copyright (c) 2000-2007, Tyrell Hungary, http://tyrell.hu/
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
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:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused

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 ^^