Use route slave pcm instead of plug.

If you need to play 8 or 16bit data on the first two channels, you can do
even like this:
	aplay -Dplug:front foo.wav
This commit is contained in:
Takashi Iwai 2001-06-20 15:32:36 +00:00
parent 76b102a36d
commit 57469ec597

View file

@ -7,7 +7,7 @@ cards.ICE1712.pcm.front.0 {
@args.CARD {
type string
}
type plug
type route
ttable.0.0 1
ttable.1.1 1
slave.pcm {
@ -21,7 +21,7 @@ cards.ICE1712.pcm.surround40.0 {
@args.CARD {
type string
}
type plug
type route
ttable.0.0 1
ttable.1.1 1
ttable.2.2 1
@ -37,7 +37,7 @@ cards.ICE1712.pcm.surround51.0 {
@args.CARD {
type string
}
type plug
type route
ttable.0.0 1
ttable.1.1 1
ttable.2.2 1
@ -72,10 +72,13 @@ cards.ICE1712.pcm.iec958.0 {
}
type hooks
slave.pcm {
type plug
type route
ttable.0.8 1
ttable.1.9 1
card $CARD
slave.pcm {
type hw
card $CARD
}
}
hooks.0 {
type ctl_elems