blob: 0a0ff97832512f6d0353fab1cdb7f4e33ff593c7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
Podcasting with Pulse
##################################
:date: 2017-09-28 14:30
:tags: pulseaudio, darkice
I want a very simple setup where i can podcast via **studio-link** with my headset and stream the whole thing to xenim.
Therefore i have:
* Headset Mic ( alsa_output.CODEC.analog-stereo.monitor )
* Headset Speaker ( alsa_input.CODEC.analog-stereo.monitor )
* studio-link recording
* studio-link playback
I need to create an extra streaming audio device and loop what i hear and what
i speak into this device:
.. code-block:: bash
~ pactl load-module module-null-sink sink_name=stream sink_properties=device.description="Streaming"
22
~ pactl load-module module-loopback source=alsa_output.CODEC.analog-stereo.monitor sink=stream latency_msec=1
23
~ pactl load-module module-loopback source=alsa_input.CODEC.analog-stereo sink=stream latency_msec=1
24
Now lets open studio-link, set playback to **CODEC Analog Stereo** and
Recording to **CODEC Analog Stereo** via *pavucontrol*.
We start *darkice* with a configuration like this:
.. code-block:: ini
[general]
duration = 0
bufferSecs = 5
reconnect = yes
realtime = no
rtprio = 2
[input]
# pactl load-module module-null-sink sink_name=stream sink_properties=device.description="Streaming_Output"
# pactl load-module module-loopback source=alsa_input.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo sink=stream latency_msec=1
# pactl load-module module-loopback source=alsa_output.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo.monitor sink=stream latency_msec=1
sampleRate = 44100
bitsPerSample = 16
channel = 2
device = pulseaudio
paSourceName = stream.monitor
[icecast2-0]
format=mp3
channel=2
bitrate=128
bitrateMode=cbr
quality=0.6
server=master.streams.xenim.de
name=Testi test
description=Test test
public=yes
localDumpFile=dump.mp3
|