You are not logged in.
I am attempting to get surround sound working in such a way that I do
not cut off access to other applications such as skype, and VLC analog.
My /etc/pulse/default.pa has default devices set as follows:
### Make some devices default
set-default-sink alsa_output.pci-0000_00_14.2.analog-stereo
set-default-source alsa_output.pci-0000_00_14.2.analog-stereo.monitor
With pavucontrol set to digital stereo duplex I get both digital where
needed and analog where needed.
if I add the following to this list, I get surround sound, but other
apps, particularly skype, will lose sound:
set-card-profile 0 output:iec958-ac3-surround-51
If on the other hand I edit default.pa in the body of the file, I also
get surround sound but, again, skype and other apps lose their sound:
load-module module-alsa-sink device=a52 rate=48000 channels=6 tsched=0
sink_properties=device.description=SPDIF sink_name=SPDIF
channel_map=front-left,front-right,rear-left,rear-right,front-center,lfe
there is also an addtional instruction, and I am not sure it's needed.
load-module module-combine channels=6
channel_map=front-left,front-right,rear-left,rear-right,front-center,lfe
Question: How do I arrange the pulse configuration files to accomplish
the following three things:
1. analog sound where required
2. Digital Stereo where needed
3. SPDIF where needed.
I answered my own question. I found this in Ubuntu, but it works for me:
FROM UBUNTU : DigitalAC-3Pulseaudio
CONFIGURING asound.conf
If you are using Oneiric Ocelot or later, add the following text to a
new file, /usr/share/alsa/alsa.conf.d/a52.conf .For versions prior to
Oneiric Ocelot (11.10) , add the following to /etc/asound.conf:
Clarification: new file - a52.conf - added to /usr/share/alsa/alsa.conf.d
pcm.a52 {
@args [CARD]
@args.CARD {
type string
}
type rate
slave {
pcm {
type a52
bitrate 448
channels 6
card $CARD
}
rate 48000 #required somehow, otherwise nothing happens in PulseAudio
}
}
CONFIGURING /etc/pulse/daemon.conf
Find line:
; default-sample-rate = 44100
Add a line underneath it
default-sample-rate = 48000
By default it is 44100 and this inconsistency with asound.conf causes
compatibility issues between programs such as Skype and Steam and
possibly others. Thanks to Ben who spent time to find this out and went
to the trouble to report it!
----------
Pulse Audio Setup
Set Sound Hardware Device
Now pulse should be aware of your digital surround output. Go to System
-> Preferences -> Sound. Click on the "Hardware" tab and change the
profile to one of the 'Digital Surround 5.1' profiles. Play some sound
(I like to test with www.pandora.com) and enjoy!
Last edited by bt (2016-04-22 13:13:21)
Offline