mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-04 13:30:08 -05:00
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:
parent
76b102a36d
commit
57469ec597
1 changed files with 8 additions and 5 deletions
|
|
@ -7,7 +7,7 @@ cards.ICE1712.pcm.front.0 {
|
||||||
@args.CARD {
|
@args.CARD {
|
||||||
type string
|
type string
|
||||||
}
|
}
|
||||||
type plug
|
type route
|
||||||
ttable.0.0 1
|
ttable.0.0 1
|
||||||
ttable.1.1 1
|
ttable.1.1 1
|
||||||
slave.pcm {
|
slave.pcm {
|
||||||
|
|
@ -21,7 +21,7 @@ cards.ICE1712.pcm.surround40.0 {
|
||||||
@args.CARD {
|
@args.CARD {
|
||||||
type string
|
type string
|
||||||
}
|
}
|
||||||
type plug
|
type route
|
||||||
ttable.0.0 1
|
ttable.0.0 1
|
||||||
ttable.1.1 1
|
ttable.1.1 1
|
||||||
ttable.2.2 1
|
ttable.2.2 1
|
||||||
|
|
@ -37,7 +37,7 @@ cards.ICE1712.pcm.surround51.0 {
|
||||||
@args.CARD {
|
@args.CARD {
|
||||||
type string
|
type string
|
||||||
}
|
}
|
||||||
type plug
|
type route
|
||||||
ttable.0.0 1
|
ttable.0.0 1
|
||||||
ttable.1.1 1
|
ttable.1.1 1
|
||||||
ttable.2.2 1
|
ttable.2.2 1
|
||||||
|
|
@ -72,11 +72,14 @@ cards.ICE1712.pcm.iec958.0 {
|
||||||
}
|
}
|
||||||
type hooks
|
type hooks
|
||||||
slave.pcm {
|
slave.pcm {
|
||||||
type plug
|
type route
|
||||||
ttable.0.8 1
|
ttable.0.8 1
|
||||||
ttable.1.9 1
|
ttable.1.9 1
|
||||||
|
slave.pcm {
|
||||||
|
type hw
|
||||||
card $CARD
|
card $CARD
|
||||||
}
|
}
|
||||||
|
}
|
||||||
hooks.0 {
|
hooks.0 {
|
||||||
type ctl_elems
|
type ctl_elems
|
||||||
hook_args [
|
hook_args [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue