diff options
author | Takashi Iwai <tiwai@suse.de> | 2008-11-19 14:59:03 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-11-19 14:59:03 +0100 |
commit | cb1fd837d93fbc495eab4aa3efaf8072937ff2df (patch) | |
tree | f2a174b0214d2f017f4699e34dd50fee6f010428 | |
parent | 55c77d0ec2cae922797110000ae3cc1bf0815413 (diff) | |
download | alsa-lib-cb1fd837d93fbc495eab4aa3efaf8072937ff2df.tar.gz |
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>
-rw-r--r-- | src/conf/cards/Aureon51.conf | 8 | ||||
-rw-r--r-- | src/conf/cards/Aureon71.conf | 8 | ||||
-rw-r--r-- | src/conf/cards/ICE1724.conf | 8 |
3 files changed, 24 insertions, 0 deletions
diff --git a/src/conf/cards/Aureon51.conf b/src/conf/cards/Aureon51.conf index 1b8ee855..24b4d949 100644 --- a/src/conf/cards/Aureon51.conf +++ b/src/conf/cards/Aureon51.conf @@ -121,6 +121,8 @@ Aureon51.pcm.iec958.0 { } type asym playback.pcm { + type linear + slave.pcm { type hooks slave.pcm { type hw @@ -147,8 +149,12 @@ Aureon51.pcm.iec958.0 { } ] } + } + slave.format S32_LE } capture.pcm { + type linear + slave.pcm { type hooks slave.pcm { type hw @@ -167,5 +173,7 @@ Aureon51.pcm.iec958.0 { } ] } + } + slave.format S32_LE } } diff --git a/src/conf/cards/Aureon71.conf b/src/conf/cards/Aureon71.conf index 8a88cce4..1479c25c 100644 --- a/src/conf/cards/Aureon71.conf +++ b/src/conf/cards/Aureon71.conf @@ -132,6 +132,8 @@ Aureon71.pcm.iec958.0 { } type asym playback.pcm { + type linear + slave.pcm { type hooks slave.pcm { type hw @@ -158,8 +160,12 @@ Aureon71.pcm.iec958.0 { } ] } + } + slave.format S32_LE } capture.pcm { + type linear + slave.pcm { type hooks slave.pcm { type hw @@ -178,5 +184,7 @@ Aureon71.pcm.iec958.0 { } ] } + } + slave.format S32_LE } } diff --git a/src/conf/cards/ICE1724.conf b/src/conf/cards/ICE1724.conf index 7f153320..e806b36d 100644 --- a/src/conf/cards/ICE1724.conf +++ b/src/conf/cards/ICE1724.conf @@ -166,6 +166,8 @@ ICE1724.pcm.iec958.0 { } type asym playback.pcm { + type linear + slave.pcm { type hooks slave.pcm { type hw @@ -192,8 +194,12 @@ ICE1724.pcm.iec958.0 { } ] } + } + slave.format S32_LE } capture.pcm { + type linear + slave.pcm { type hooks slave.pcm { type hw @@ -212,5 +218,7 @@ ICE1724.pcm.iec958.0 { } ] } + } + slave.format S32_LE } } |