You are not logged in.

#1 2013-05-27 13:50:33

vladthedog
Member
Registered: 2010-12-03
Posts: 45

MPD, alsa upmix51, and no other device being able to use sound

First, I know I'm just misunderstanding something I've read in the wiki, which is why I cannot get this to work.  However, I'm at a loss.  I've set my asound.conf to upmix all audio to 5.1, which works as expected.  I run MPD on my system, and while running it wont allow anything else to use audio.  I've tried what the wiki said to put "ipc_key_add_uid 0" in my asound, but that only works under pcm.dmixer if i remove my upmixing of all audio to 5.1.   

What I'm wanting is all audio upmixed to 5.1, while at the same time allow other audio to play while MPD is playing.  What am I missing?


asound.conf  (i've disabled all pulseaudio)

#high quality resampling
defaults.pcm.rate_converter "samplerate_best"

 
# Upmixing 2 channel to 5.1
pcm.upmix51 {
    type upmix
    slave.pcm "surround51"
    delay 15
    channels 6
}
 
pcm.!default "plug:upmix51"

relevent part of mpd.conf

audio_output {
        type            "alsa"
        name            "Sound Card"
        mixer_type      "software"      # optional
        mixer_device    "default"       # optional
        mixer_control   "PCM"           # optional
##      mixer_index     "0"             # optional
}

Offline

#2 2013-05-27 16:08:14

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

Re: MPD, alsa upmix51, and no other device being able to use sound

vladthedog wrote:

What am I missing?

You need ipc_key blah (there's 3 ipc entries in my config), for starters.

See post, and check my config.

Offline

#3 2013-05-27 20:56:31

vladthedog
Member
Registered: 2010-12-03
Posts: 45

Re: MPD, alsa upmix51, and no other device being able to use sound

brebs wrote:
vladthedog wrote:

What am I missing?

You need ipc_key blah (there's 3 ipc entries in my config), for starters.

See post, and check my config.

however i was using ipc_key must have been wrong, because it yelled at me when I tried it ;-).  Instead of trying to mix/match, I just replaced my asound.conf with yours and after few simple tests, everything seems to be running as I want.  Thanks for your awesomely notated asound.conf.

Offline

Board footer

Powered by FluxBB