You are not logged in.

#1 2012-05-15 17:00:29

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Pulseaudio: use 5.1 for videos and 2.1 for music

Is there any way to automate the process described in the title?

I only was able to make pulse play stereo files with 2.0 (without sub) and movie files in 5.1 by adding "disable-remixing=yes" in daemon.conf
how can i make sub in stereo work and still be able to have 5.1 for music automatically?


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#2 2012-05-15 18:50:13

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Pulseaudio: use 5.1 for videos and 2.1 for music

Dunno about pulseaudio, but this can be done in ALSA - here's my ~/.asoundrc as an example.

The music player needs to output to the upmixing PCM.

Offline

#3 2012-05-16 15:30:14

distorx
Member
Registered: 2012-05-08
Posts: 25

Re: Pulseaudio: use 5.1 for videos and 2.1 for music

Check this link there a lot of stuff that you can do at command line while running your section and not at your rc.conf. Also check /etc/pulse folder.

http://www.freedesktop.org/wiki/Softwar … n/User/CLI

Offline

#4 2012-05-16 16:47:28

fahl
Member
Registered: 2012-05-14
Posts: 3

Re: Pulseaudio: use 5.1 for videos and 2.1 for music

brebs wrote:

Dunno about pulseaudio, but this can be done in ALSA - here's my ~/.asoundrc as an example.

The music player needs to output to the upmixing PCM.

using your config i get this:

➜  ~  speaker-test -D upmix_20to51 -c 2 -t wav

speaker-test 1.0.25

Playback device is upmix_20to51
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
ALSA lib pcm_ladspa.c:1512:(snd_pcm_ladspa_add_plugin) Unable to find or load plugin '(null)' ID 1672, path '/usr/lib/ladspa'
Playback open error: -2,No such file or directory

Offline

#5 2012-05-16 19:50:15

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Pulseaudio: use 5.1 for videos and 2.1 for music

fahl wrote:

Unable to find or load plugin '(null)' ID 1672, path '/usr/lib/ladspa'

So install that plugin.

Don't blindly use my config. Also, READ all the useful comments I put inside it wink

Offline

Board footer

Powered by FluxBB