diff mbox

ICE1712: add surround71 pcm definition

Message ID 1404153648-3201-1-git-send-email-patrakov@gmail.com (mailing list archive)
State Accepted
Delegated to: Takashi Iwai
Headers show

Commit Message

Alexander Patrakov June 30, 2014, 6:40 p.m. UTC
The M-Audio Delta 1010 card has 7.1 analog output, but no ready-made pcm
definition to use it.

Signed-off-by: Alexander E. Patrakov <patrakov@gmail.com>
Reported-and-tested-by: Matt Zagrabelny <mzagrabe@d.umn.edu>
---
 src/conf/cards/ICE1712.conf | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

Comments

Takashi Iwai July 1, 2014, 9:29 a.m. UTC | #1
At Tue,  1 Jul 2014 00:40:48 +0600,
Alexander E. Patrakov wrote:
> 
> The M-Audio Delta 1010 card has 7.1 analog output, but no ready-made pcm
> definition to use it.
> 
> Signed-off-by: Alexander E. Patrakov <patrakov@gmail.com>
> Reported-and-tested-by: Matt Zagrabelny <mzagrabe@d.umn.edu>

Applied, thanks.


Takashi

> ---
>  src/conf/cards/ICE1712.conf | 22 ++++++++++++++++++++++
>  1 file changed, 22 insertions(+)
> 
> diff --git a/src/conf/cards/ICE1712.conf b/src/conf/cards/ICE1712.conf
> index 398fa7a..db62684 100644
> --- a/src/conf/cards/ICE1712.conf
> +++ b/src/conf/cards/ICE1712.conf
> @@ -78,6 +78,7 @@ ICE1712.pcm.surround40.0 {
>  <confdir:pcm/surround41.conf>
>  <confdir:pcm/surround50.conf>
>  <confdir:pcm/surround51.conf>
> +<confdir:pcm/surround71.conf>
>  
>  ICE1712.pcm.surround51.0 {
>  	@args [ CARD ]
> @@ -98,6 +99,27 @@ ICE1712.pcm.surround51.0 {
>  	slave.channels 10
>  }
>  
> +ICE1712.pcm.surround71.0 {
> +	@args [ CARD ]
> +	@args.CARD {
> +		type string
> +	}
> +	type route
> +	ttable.0.0 1
> +	ttable.1.1 1
> +	ttable.2.2 1
> +	ttable.3.3 1
> +	ttable.4.4 1
> +	ttable.5.5 1
> +	ttable.6.6 1
> +	ttable.7.7 1
> +	slave.pcm {
> +		type hw
> +		card $CARD
> +	}
> +	slave.channels 10
> +}
> +
>  <confdir:pcm/iec958.conf>
>  
>  ICE1712.pcm.iec958.0 {
> -- 
> 2.0.0
> 
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>
diff mbox

Patch

diff --git a/src/conf/cards/ICE1712.conf b/src/conf/cards/ICE1712.conf
index 398fa7a..db62684 100644
--- a/src/conf/cards/ICE1712.conf
+++ b/src/conf/cards/ICE1712.conf
@@ -78,6 +78,7 @@  ICE1712.pcm.surround40.0 {
 <confdir:pcm/surround41.conf>
 <confdir:pcm/surround50.conf>
 <confdir:pcm/surround51.conf>
+<confdir:pcm/surround71.conf>
 
 ICE1712.pcm.surround51.0 {
 	@args [ CARD ]
@@ -98,6 +99,27 @@  ICE1712.pcm.surround51.0 {
 	slave.channels 10
 }
 
+ICE1712.pcm.surround71.0 {
+	@args [ CARD ]
+	@args.CARD {
+		type string
+	}
+	type route
+	ttable.0.0 1
+	ttable.1.1 1
+	ttable.2.2 1
+	ttable.3.3 1
+	ttable.4.4 1
+	ttable.5.5 1
+	ttable.6.6 1
+	ttable.7.7 1
+	slave.pcm {
+		type hw
+		card $CARD
+	}
+	slave.channels 10
+}
+
 <confdir:pcm/iec958.conf>
 
 ICE1712.pcm.iec958.0 {