You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

79 lines
1.6 KiB

11 years ago
  1. Pulse audio notes.
  2. to see what version of PA is on your machine
  3. pulseaudio --version
  4. IMA ADPCM
  5. To build xrdp pulse sink,
  6. get the pulse source that most closely matches your version on
  7. your machine. Get the source from
  8. http://freedesktop.org/software/pulseaudio/releases/
  9. run ./configure after extracting. I don't think you need to build it.
  10. edit Makefile to point to your pulse source directory.
  11. PA always respawning
  12. To stop its respawning habit, open /etc/pulse/client.conf, change
  13. autospawn = yes to autospawn = no, and set daemon-binary to /bin/true.
  14. Make sure these lines are uncommented, like this:
  15. autospawn = no
  16. daemon-binary = /bin/true
  17. xfreerdp -a 24 -z --plugin rdpsnd --data alsa:hw:0,0 -- 127.0.0.1
  18. to get ./configure on pulse source to run
  19. apt-get install libsndfile1-dev
  20. apt-get install libspeex-dev
  21. apt-get install libspeexdsp-dev
  22. alsamixer
  23. apt-get install alsa-utils
  24. /etc/asound.conf
  25. ---------------------------------
  26. pcm.pulse {
  27. type pulse
  28. }
  29. ctl.pulse {
  30. type pulse
  31. }
  32. pcm.!default {
  33. type pulse
  34. }
  35. ctl.!default {
  36. type pulse
  37. }
  38. ---------------------------------
  39. /etc/pulse/default.pa
  40. ---------------------------------
  41. .nofail
  42. .fail
  43. load-module module-augment-properties
  44. #load-module module-alsa-sink device=hw:0
  45. #load-module module-alsa-source device=hw:0
  46. #load-module module-pipe-sink
  47. #load-module module-pipe-source
  48. #load-module module-null-sink
  49. load-module module-xrdp-sink
  50. load-module module-native-protocol-unix
  51. #load-module module-udev-detect tsched=0
  52. ---------------------------------
  53. To see a list of sinks
  54. pacmd list-sinks
  55. To manually load a sink
  56. pactl load-module module-xrdp-sink.so sink_name=test