Difference between revisions of "Pulseaudio Setup"
From Ghpsdr3 SDR project
Line 21: | Line 21: | ||
</pre> | </pre> | ||
− | to set up network access by checking the various option boxes. | + | to set up network access by checking the various option boxes. |
+ | |||
+ | '''Pulseaudio Setup independant on a X-Server installation ''' | ||
+ | |||
+ | Make sure you add your username to the following system groups: | ||
+ | <pre> | ||
+ | pulse, pulse-access, audio. | ||
+ | </pre> | ||
+ | |||
+ | <pre> | ||
+ | sudo nano -w /etc/group | ||
+ | </pre> | ||
+ | |||
+ | Example for the user dl6kbg: | ||
+ | <pre> | ||
+ | audio:x:29:pulse,dl6kbg | ||
+ | pulse:x:119:dl6kbg | ||
+ | pulse-access:x:120:dl6kbg | ||
+ | </pre> | ||
+ | <pre> | ||
+ | sudo nano /etc/default/pulseaudio | ||
+ | </pre> | ||
+ | |||
+ | change settings to: | ||
+ | |||
+ | <pre> | ||
+ | PULSEAUDIO_SYSTEM_START=1 | ||
+ | DISALLOW_MODULE_LOADING=0 | ||
+ | </pre> | ||
+ | |||
+ | <pre> | ||
+ | sudo nano /etc/pulse/system.pa | ||
+ | </pre> | ||
+ | |||
+ | and add: | ||
+ | |||
+ | <pre> | ||
+ | load-module module-native-protocol-tcp auth-anonymous=1 | ||
+ | </pre> | ||
+ | |||
+ | Restart pulseaudio: | ||
+ | <pre> | ||
+ | sudo /etc/init.d/pulseaudio restart | ||
+ | </pre> | ||
+ | |||
+ | or restart the system and fire up the softrock server. | ||
+ | |||
+ | |||
In order to use 96000 or 192000, you will need to configure pulse audio by editing: | In order to use 96000 or 192000, you will need to configure pulse audio by editing: |
Revision as of 15:48, 12 November 2011
To run the softrock server use:
pavucontrol
to choose the default pulse audio sources:
For TX Audio
Softrock:IQ = shared ID for use with libusb Analog Stereo
and for RX Audio:
Softrock:IQ = shared ID for use with libusb Analog Stereo
You also need to run pulse in network mode. Use:
paprefs
to set up network access by checking the various option boxes.
Pulseaudio Setup independant on a X-Server installation
Make sure you add your username to the following system groups:
pulse, pulse-access, audio.
sudo nano -w /etc/group
Example for the user dl6kbg:
audio:x:29:pulse,dl6kbg pulse:x:119:dl6kbg pulse-access:x:120:dl6kbg
sudo nano /etc/default/pulseaudio
change settings to:
PULSEAUDIO_SYSTEM_START=1 DISALLOW_MODULE_LOADING=0
sudo nano /etc/pulse/system.pa
and add:
load-module module-native-protocol-tcp auth-anonymous=1
Restart pulseaudio:
sudo /etc/init.d/pulseaudio restart
or restart the system and fire up the softrock server.
In order to use 96000 or 192000, you will need to configure pulse audio by editing:
/etc/pulse/daemon.conf
or better, copy the file to:
~/.pulse/daemon.conf
and then edit the file there, if you run your pulseadio system in user mode.