View previous topic :: View next topic |
Author |
Message |
MrStaticVoid Tux's lil' helper
Joined: 25 Jul 2003 Posts: 114 Location: Maryland
|
Posted: Wed Feb 14, 2007 1:52 am Post subject: Virtual ALSA Mixer (for MythTV)? [SOLVED] |
|
|
I'd like to have the ability to mute only MythTV, allowing other applications to remain playing. Is it is possible, maybe in asound.conf, to create a virtual pcm device, through which MythTV can play, which would have its own virtual mixer?
The asound.conf seems pretty flexible, but I've only seen examples of virtual devices for dmix and multichannel support. If not possible with ALSA, can anyone think of another way?
Thanks.
Last edited by MrStaticVoid on Wed Feb 14, 2007 8:34 pm; edited 1 time in total |
|
Back to top |
|
|
MrStaticVoid Tux's lil' helper
Joined: 25 Jul 2003 Posts: 114 Location: Maryland
|
Posted: Wed Feb 14, 2007 8:34 pm Post subject: |
|
|
I've found the solution. For those who might be interested to do the same thing, you can use the 'softvol' ALSA plugin.
In /etc/asound.conf or ~/.asoundrc:
Code: | pcm.mythtv {
type softvol
slave.pcm "dmix"
control {
name "MythTV"
card 0
}
} |
This sets up a virtual device called 'mythtv' and anything that's played through has its volume modified by the 'MythTV' control (in like alsamixer) before outputting to whatever slave device you specify (in my case 'dmix').
Then in mythfrontend, set your audio preferences like:
http://userpages.umbc.edu/~jlee23/screenshotmythfrontenddb1.png
so you can control the volume from within MythTV itself.
Man I'm happy! |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|