Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

custom asoundrc with mythtv

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


msc at antzsystem

Jun 20, 2008, 3:11 PM

Post #1 of 2 (522 views)
Permalink
custom asoundrc with mythtv

hello,

pre qt4-mythtv version i could setup "ALSA:mythtv" as pcm device and
define a mythtv section inside my asoundrc like this:

# all subwoofer parts to .1 channel
pcm.mythtv
{
type route
slave.pcm "surround51"
slave.channels 6
ttable.0.0 1
ttable.1.1 1
ttable.2.2 1
ttable.3.3 1
ttable.4.4 1
ttable.5.5 1
ttable.0.5 1
ttable.1.5 1
ttable.2.5 1
ttable.3.5 1
ttable.4.5 1
}

But now with trunk it's impossible to use a selfmade pcm device, it will
be rejected to ALSA:surround51. Why this restriction?

I known it's possible to override the default surround51 device, but
what should be used as slave then?

Was it possible to disable the new 2.0->5.1 expansion from OSD?
Sometimes it's ugly to have prologic-like surround for stereo music
channels or similar.

--
Markus Schulz

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


msc at antzsystem

Jun 20, 2008, 3:36 PM

Post #2 of 2 (464 views)
Permalink
Re: custom asoundrc with mythtv [In reply to]

Am Samstag, 21. Juni 2008 schrieb Markus Schulz:
[...]
> I known it's possible to override the default surround51 device, but
> what should be used as slave then?

ok, i've found it inside /usr/share/alsa/pcm/surround51.conf

pcm.!surround51
{
@args [ CARD DEV ]
@args.CARD {
type string
default {
@func getenv
vars [
ALSA_SURROUND51_CARD
ALSA_PCM_CARD
ALSA_CARD
]
default {
@func refer
name defaults.pcm.surround51.card
}
}
}
@args.DEV {
type integer
default {
@func igetenv
vars [
ALSA_SURROUND51_DEVICE
]
default {
@func refer
name defaults.pcm.surround51.device
}
}
}
type route
ttable.0.0 1
ttable.1.1 1
ttable.2.2 1
ttable.3.3 1
ttable.4.4 1
ttable.5.5 1
ttable.0.5 1
ttable.1.5 1
ttable.2.5 1
ttable.3.5 1
ttable.4.5 1

slave.channels 6
slave.pcm {
@func refer
name {
@func concat
strings [.
"cards."
{
@func card_driver
card $CARD
}
".pcm.surround51." $DEV ":CARD=" $CARD
]
}
}

}

looks complicated but works as expected.

> Was it possible to disable the new 2.0->5.1 expansion from OSD?
> Sometimes it's ugly to have prologic-like surround for stereo music
> channels or similar.

now i'm only looking for a solution to this problem ;)

--
Markus Schulz

A: Because it breaks the logical sequence of discussion
Q: Why is top posting bad?

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.