mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-04 13:30:08 -05:00
Add linear plugin wrapping iec958 PCM for ice1724-based boards
The ice1724-based cards can handle only 32bit while the apps almost expet 16bit format for SPDIF I/O. This prevents the default config working on many apps like mplayer, xine, etc. This patch simply adds the least automatic conversion by linear plugin. Note that "plug" isn't used here. Otherwise we get a problem of the routing (plug over plug is buggy). Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
55c77d0ec2
commit
cb1fd837d9
3 changed files with 24 additions and 0 deletions
|
|
@ -121,6 +121,8 @@ Aureon51.pcm.iec958.0 {
|
||||||
}
|
}
|
||||||
type asym
|
type asym
|
||||||
playback.pcm {
|
playback.pcm {
|
||||||
|
type linear
|
||||||
|
slave.pcm {
|
||||||
type hooks
|
type hooks
|
||||||
slave.pcm {
|
slave.pcm {
|
||||||
type hw
|
type hw
|
||||||
|
|
@ -148,7 +150,11 @@ Aureon51.pcm.iec958.0 {
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
slave.format S32_LE
|
||||||
|
}
|
||||||
capture.pcm {
|
capture.pcm {
|
||||||
|
type linear
|
||||||
|
slave.pcm {
|
||||||
type hooks
|
type hooks
|
||||||
slave.pcm {
|
slave.pcm {
|
||||||
type hw
|
type hw
|
||||||
|
|
@ -168,4 +174,6 @@ Aureon51.pcm.iec958.0 {
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
slave.format S32_LE
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -132,6 +132,8 @@ Aureon71.pcm.iec958.0 {
|
||||||
}
|
}
|
||||||
type asym
|
type asym
|
||||||
playback.pcm {
|
playback.pcm {
|
||||||
|
type linear
|
||||||
|
slave.pcm {
|
||||||
type hooks
|
type hooks
|
||||||
slave.pcm {
|
slave.pcm {
|
||||||
type hw
|
type hw
|
||||||
|
|
@ -159,7 +161,11 @@ Aureon71.pcm.iec958.0 {
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
slave.format S32_LE
|
||||||
|
}
|
||||||
capture.pcm {
|
capture.pcm {
|
||||||
|
type linear
|
||||||
|
slave.pcm {
|
||||||
type hooks
|
type hooks
|
||||||
slave.pcm {
|
slave.pcm {
|
||||||
type hw
|
type hw
|
||||||
|
|
@ -179,4 +185,6 @@ Aureon71.pcm.iec958.0 {
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
slave.format S32_LE
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -166,6 +166,8 @@ ICE1724.pcm.iec958.0 {
|
||||||
}
|
}
|
||||||
type asym
|
type asym
|
||||||
playback.pcm {
|
playback.pcm {
|
||||||
|
type linear
|
||||||
|
slave.pcm {
|
||||||
type hooks
|
type hooks
|
||||||
slave.pcm {
|
slave.pcm {
|
||||||
type hw
|
type hw
|
||||||
|
|
@ -193,7 +195,11 @@ ICE1724.pcm.iec958.0 {
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
slave.format S32_LE
|
||||||
|
}
|
||||||
capture.pcm {
|
capture.pcm {
|
||||||
|
type linear
|
||||||
|
slave.pcm {
|
||||||
type hooks
|
type hooks
|
||||||
slave.pcm {
|
slave.pcm {
|
||||||
type hw
|
type hw
|
||||||
|
|
@ -213,4 +219,6 @@ ICE1724.pcm.iec958.0 {
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
slave.format S32_LE
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue