tips:audio

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
tips:audio [2017/05/12 17:55] – created scipiotips:audio [2017/05/16 16:27] (current) scipio
Line 1: Line 1:
 ====== Audio ====== ====== Audio ======
  
-===== test =====+===== pulse headless =====
  
 <code bash> <code bash>
-gst-launch-1.0 audiotestsrc ! audioresample ! autoaudiosink+sudo apt install pulseaudio pulseaudio-module-zeroconf gstreamer1.0-plugins-base-apps gstreamer1.0-pulseaudio
 </code> </code>
  
 +<file ini /etc/systemd/system/pulseaudio.service>
  
 +# systemd service spec for pulseaudio running in system mode -- not recommended though!
 +# on arch, put it under /etc/systemd/system/pulseaudio.service
 +# start with: systemctl start pulseaudio.service
 +# enable on boot: systemctl enable pulseaudio.service 
 +[Unit]
 +Description=Pulseaudio sound server
 +After=avahi-daemon.service network.target
 +
 +[Service]
 +ExecStart=/usr/bin/pulseaudio --system --disallow-exit --disallow-module-loading
 +ExecReload=/bin/kill -HUP $MAINPID
 +
 +[Install]
 +WantedBy=multi-user.target
 +</file>
 +
 +<file ini /etc/pulse/system.pa>
 +load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1;192.168.0.0/16
 +load-module module-zeroconf-publish
 +</file>
 +
 +<file ini /etc/pulse/client.conf>
 +default-server = 127.0.0.1
 +</file>
 +
 +
 +===== test =====
 +
 +<code bash>
 +gst-launch-1.0 audiotestsrc ! audioresample ! autoaudiosink
 +</code>
  
  • tips/audio.1494604555.txt.gz
  • Last modified: 2017/05/12 17:55
  • by scipio