summaryrefslogtreecommitdiffstats
path: root/sesman/chansrv/pulse/pulse-notes.txt
blob: b5d51572d42373f2526144be77b85d952cb9ff36 (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
65
66
67
68
69
70
71
72

Pulse audio notes.

to see what version of PA is on your machine
pulseaudio --version

IMA ADPCM

To build xrdp pulse sink,
get the pulse source that most closely matches your version on
your machine.  Get the source from
http://freedesktop.org/software/pulseaudio/releases/
run ./configure after extracting.  I don't think you need to build it.
edit Makefile to point to your pulse source directory.



PA always respawning

  To stop its respawning habit, open /etc/pulse/client.conf, change
  autospawn = yes to autospawn = no, and set daemon-binary to /bin/true.
  Make sure these lines are uncommented, like this:

autospawn = no
daemon-binary = /bin/true

xfreerdp -a 24 -z --plugin rdpsnd --data alsa:hw:0,0 -- 127.0.0.1


to get ./configure on pulse source to run
apt-get install libsndfile1-dev
apt-get install libspeex-dev
apt-get install libspeexdsp-dev

alsamixer
apt-get install alsa-utils


/etc/asound.conf
---------------------------------
pcm.pulse {
    type pulse
}

ctl.pulse {
    type pulse
}

pcm.!default {
    type pulse
}

ctl.!default {
    type pulse
}
---------------------------------


/etc/pulse/default.pa
---------------------------------
.nofail
.fail
load-module module-augment-properties
#load-module module-alsa-sink device=hw:0
#load-module module-alsa-source device=hw:0
#load-module module-pipe-sink
#load-module module-pipe-source
#load-module module-null-sink
load-module module-xrdp-sink
load-module module-native-protocol-unix
#load-module module-udev-detect tsched=0
---------------------------------