alsa-lib: Conf: Fix channels of ICE1712 to 10/12
PATCH 1/1 alsa-lib: Conf: Fix channels of ICE1712 to 10/12
I know this issue has been brought up before, without resolution. Basically PulseAudio cannot open cards such as M-Audio 2496 and M-Audio Delta 1010LT because it does not try to open "front" with 10 channels, only with 2.
I think it is reasonable to assume that a front:x stream should be able to open with 2 channels only, therefore I'm proposing this fix, and I'm applying it to Ubuntu as well, unless you have a better idea.
Signature · 2 lines
David Henningsson, Canonical Ltd. http://launchpad.net/~diwic
Quoted 1 line
From
caf7ba000b5d09bd073028392235c14f34e63b97Mon Sep 17 00:00:00 2001
From: David Henningsson <[email protected]>
Date: Mon, 28 Mar 2011 10:19:16 +0200
Subject: [PATCH] Conf: Fix channels of ICE1712 to 10/12
The ICE1712 kernel driver accepts 10 playback channels and 12 recording channels only. Therefore fix this channel count in alsa-lib.
--- src/conf/cards/ICE1712.conf | 28 ++++++++++++++++++++++------ 1 files changed, 22 insertions(+), 6 deletions(-)
src/conf/cards/ICE1712.conf +22 -6
@@ -32,12 +32,26 @@ ICE1712.pcm.front.0 { @args.CARD { type string } - type route - ttable.0.0 1 - ttable.1.1 1 - slave.pcm { - type hw - card $CARD + type asym + playback.pcm { + type route + ttable.0.0 1 + ttable.1.1 1 + slave.pcm { + type hw + card $CARD + } + slave.channels 10 + } + capture.pcm { + type route + ttable.0.0 1 + ttable.1.1 1 + slave.pcm { + type hw + card $CARD + } + slave.channels 12 } }
@@ -57,6 +71,7 @@ ICE1712.pcm.surround40.0 { type hw card $CARD } + slave.channels 10 } <confdir:pcm/surround41.conf>
@@ -79,6 +94,7 @@ ICE1712.pcm.surround51.0 { type hw card $CARD } + slave.channels 10 } <confdir:pcm/iec958.conf>
Signature · 1 line
1.7.4.1
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Quoted 7 lines · David Henningsson
I know this issue has been brought up before, without resolution. Basically PulseAudio cannot open cards such as M-Audio 2496 and M-Audio Delta 1010LT because it does not try to open "front" with 10 channels, only with 2.
I think it is reasonable to assume that a front:x stream should be able to open with 2 channels only, therefore I'm proposing this fix, and I'm applying it to Ubuntu as well, unless you have a better idea.
I applied your change to our git repo . Perhaps we find a better solution in future.
Jaroslav
-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.
2011/3/28 Jaroslav Kysela <[email protected]>
Quoted 10 lines · David Henningsson
Quoted 2 lines
I know this issue has been brought up before, without resolution.
Basically
Quoted 1 line
PulseAudio cannot open cards such as M-Audio 2496 and M-Audio Delta
1010LT
Quoted 3 lines
because it does not try to open "front" with 10 channels, only with 2.
I think it is reasonable to assume that a front:x stream should be able
to
Quoted 9 lines
Quoted 1 line
open with 2 channels only, therefore I'm proposing this fix, and I'm
applying
Quoted 1 line
it to Ubuntu as well, unless you have a better idea.
I applied your change to our git repo . Perhaps we find a better solution in future.
Jaroslav
But front device cannot be used for capture
I have used David 's alsamixertest to verify that using "front" device of HDA intel for playback/capture , the softvol plugin "PCM Playback Volume affect the dB scale