PulseAudio: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (7 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
Be sure to configure [[ALSA]] first. | Be sure to configure [[ALSA]] first. | ||
== PulseAudio configuration == | |||
{{File|/etc/pulse/default.pa| | |||
Depending on your external AV-Reciever this prevents crackling sounds and outputs a continous a52 signal through S/PDIF | |||
<pre> | |||
### Automatically suspend sinks/sources that become idle for too long | |||
#load-moduleload-module module-suspend-on-idle | |||
</pre> | |||
}} | |||
{{File|/etc/pulse/daemon.conf| | |||
Set correct sample-rate and channels | |||
<pre> | |||
default-sample-rate = 48000 | |||
default-sample-channels = 6 | |||
</pre> | |||
}} | |||
== Fix the default PulseAudio/ALSA a52 5.1 profile detection == | == Fix the default PulseAudio/ALSA a52 5.1 profile detection == | ||
{{ | {{File|/usr/share/pulseaudio/alsa-mixer/profile-sets/default.conf| | ||
Change any occurance of a52:%f to a52: | Change any occurance of a52:%f to a52: | ||
<pre> | <pre> | ||
| Line 20: | Line 38: | ||
}} | }} | ||
== | == Setting the default device (to avoid default output pointing to analog headphones) == | ||
First you need to find out the device names by running: | |||
{{Root|<nowiki>pacmd list-sinks | grep "name:"</nowiki>}} | |||
{{ | {{Root|<nowiki>pacmd list-sources | grep "name:"</nowiki>}} | ||
<nowiki> | |||
</nowiki> | |||
}} | |||
And then add them to the default.pa configuration: | |||
{{ | {{File|/etc/pulse/default.pa| | ||
<pre> | |||
### Make some devices default | |||
default- | set-default-sink alsa_output.pci-0000_01_00.1.iec958-ac3-surround-51 | ||
set-default-source alsa_output.pci-0000_01_00.1.iec958-ac3-surround-51.monitor | |||
</pre> | |||
}} | }} | ||
Latest revision as of 22:44, 16 July 2012
Be sure to configure ALSA first.
PulseAudio configuration
File: /etc/pulse/default.pa
Depending on your external AV-Reciever this prevents crackling sounds and outputs a continous a52 signal through S/PDIF
### Automatically suspend sinks/sources that become idle for too long #load-moduleload-module module-suspend-on-idle
File: /etc/pulse/daemon.conf
Set correct sample-rate and channels
default-sample-rate = 48000 default-sample-channels = 6
Fix the default PulseAudio/ALSA a52 5.1 profile detection
File: /usr/share/pulseaudio/alsa-mixer/profile-sets/default.conf
Change any occurance of a52:%f to a52:
[Mapping iec958-ac3-surround-40] device-strings = a52 channel-map = front-left,front-right,rear-left,rear-right priority = 2 direction = output [Mapping iec958-ac3-surround-51] device-strings = a52 channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe priority = 3 direction = output
Setting the default device (to avoid default output pointing to analog headphones)
First you need to find out the device names by running:
# pacmd list-sinks | grep "name:"
# pacmd list-sources | grep "name:"
And then add them to the default.pa configuration:
File: /etc/pulse/default.pa
### Make some devices default set-default-sink alsa_output.pci-0000_01_00.1.iec958-ac3-surround-51 set-default-source alsa_output.pci-0000_01_00.1.iec958-ac3-surround-51.monitor