You are not logged in.
I try to make some interesting sound config.
At this time, when I plug headphones to my PC, speakers mute. I want to change this behaviour and mute applications selectively: everything should be muted, but mplayer and/or mpd not.
How to make this working? It's even possible? I'm almost sure that asound.conf is not a right place to start.
My actual /etc/asound.conf
# the sound card
pcm.real {
type hw
card 0
device 0
}
# the ipc stuff is needed for permissions, etc.
pcm.dmixer {
type dmix
ipc_key 1024
ipc_perm 0666
slave.pcm "real"
slave {
period_time 0
period_size 1024
buffer_size 8192
rate 44100
}
bindings {
0 0
1 1
}
}
ctl.dmixer {
type hw
card 0
}
# software volume
pcm.softvol {
type softvol
slave.pcm "dmixer"
control {
name "Software"
card 0
}
}
# mpd volume control
pcm.mpdvol {
type softvol
slave.pcm "dmixer"
control {
name "MPD"
card 0
}
}
# ctrl for mpd volume
ctl.mpdvol {
type hw
card 0
}
# MPlayer volume control
pcm.mplayervol {
type softvol
slave.pcm "dmixer"
control {
name "MPlayer"
card 0
}
}
# ctrl for MPlayer volume
ctl.mplayervol {
type hw
card 0
}
# input
pcm.input {
type dsnoop
ipc_key 3129398
ipc_key_add_uid false
ipc_perm 0660
slave.pcm "810"
}
# duplex device
pcm.duplex {
type asym
playback.pcm "softvol"
capture.pcm "input"
}
# default devices
pcm.!default {
type plug
slave.pcm "duplex"
}
# for oss devices
pcm.dsp0 {
type plug
slave.pcm "duplex"
}
ctl.equal {
type equal;
}
pcm.plugequal {
type equal;
slave.pcm "dmixer";
}
pcm.equal{
type plug;
slave.pcm plugequal;
}Some hardware info:
$ lspci -k | egrep -iA2 Audio
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 02)
Subsystem: ASUSTeK Computer Inc. P5K PRO Motherboard
Kernel driver in use: snd_hda_intelLast edited by n0rv (2013-06-29 15:58:56)
Offline