How PulseAudio works.

Image via Wikipedia

Today most- Finally, after a lot of time I decided to buy another cable to hang 5.1 I need a audio system. So far I used it with a normal stereo cable and then the system alone make partition of audio channels. Which is not so good. Now for each channel has a separate cable and the sound is pretty neat (Naturally), the dense and the films feel has been improved many times. There were a few little dramas that are fixed relative intuitively. The main drama was, that left only the front columns without buffer or rear Center after I have recalibrated the sound scheme of Gnome is 5.1 . Most of the players have the option of setting up in the alsa how to channel the audio but there are programs in which absent such opportunity as, say, adobe flash player. My initial idea was just to reconfigure the parameters as ask asoundrc. duplicating the sound on all channels – decision with which I'm not proud of it at all because I don't consider. Configuration trivial :

pcm.!default {
type plug
slave.channels 6
route_policy duplicate

With her things came on the spot until I realized that alsa can process only 1 process and while he finishes to use it else can. 😳 Неприятно но факт бях забравил времената в който слушаш или player или youtube и ако едното ти омръзне трябва да затвориш програмата, You can use the other application. I immediately told me where is the true root of things – the configuration of the pulseaudio Server. Pulseaudio roughly speaking is the proxy server that handles the information between audio hardware and audio software that wants to use it. System that for years has proved to be many multiples. It is located in the configuration in/etc/pulse/daemon.conf. By default, it is zakomentirano with ; so if you are not praivli changes might boldly add the following lines at the end of the file:

enable-lfe-remixing = yes

default-sample-rate = 48000
default-sample-channels = 6

The names of the options are asking the obvious value of how we're going to be a small channel audio tuning of the standard bitrate of lfe and razrešvane remiksiraneto. След това остава да рестартирате alsa и pulseaudio с

sudo /etc/init.d/alsa-utils restart && pulseaudio -k

From now on only for me and enjoying the good audio.

edit: .asoundrc must be content to have no problems with skype and other applications

pcm.pulse {type pulse }
ctl.pulse { type pulse }

Enhanced by Zemanta