* [PATCH] surround41/50.conf: Use chmap syntax for better flexibility
@ 2015-06-18 8:47 David Henningsson
2015-06-25 8:19 ` David Henningsson
0 siblings, 1 reply; 3+ messages in thread
From: David Henningsson @ 2015-06-18 8:47 UTC (permalink / raw)
To: tiwai, alsa-devel; +Cc: David Henningsson
In case the hardware only supports a specific channel map,
this change would allow surround41/50 to select the correct
channel map and channel count in this situation.
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
---
src/conf/pcm/surround41.conf | 11 +++++------
src/conf/pcm/surround50.conf | 11 +++++------
2 files changed, 10 insertions(+), 12 deletions(-)
diff --git a/src/conf/pcm/surround41.conf b/src/conf/pcm/surround41.conf
index 10e486e..2f82381 100644
--- a/src/conf/pcm/surround41.conf
+++ b/src/conf/pcm/surround41.conf
@@ -53,12 +53,11 @@ pcm.!surround41 {
]
}
}
- slave.channels 6
- ttable.0.0 1
- ttable.1.1 1
- ttable.2.2 1
- ttable.3.3 1
- ttable.4.5 1
+ ttable.0.FL 1
+ ttable.1.FR 1
+ ttable.2.RL 1
+ ttable.3.RR 1
+ ttable.4.LFE 1
hint {
description "4.1 Surround output to Front, Rear and Subwoofer speakers"
device $DEV
diff --git a/src/conf/pcm/surround50.conf b/src/conf/pcm/surround50.conf
index 7b7b17e..dc95c17 100644
--- a/src/conf/pcm/surround50.conf
+++ b/src/conf/pcm/surround50.conf
@@ -53,12 +53,11 @@ pcm.!surround50 {
]
}
}
- slave.channels 6
- ttable.0.0 1
- ttable.1.1 1
- ttable.2.2 1
- ttable.3.3 1
- ttable.4.4 1
+ ttable.0.FL 1
+ ttable.1.FR 1
+ ttable.2.RL 1
+ ttable.3.RR 1
+ ttable.4.FC 1
hint {
description "5.0 Surround output to Front, Center and Rear speakers"
device $DEV
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] surround41/50.conf: Use chmap syntax for better flexibility
2015-06-18 8:47 [PATCH] surround41/50.conf: Use chmap syntax for better flexibility David Henningsson
@ 2015-06-25 8:19 ` David Henningsson
2015-06-25 8:35 ` Takashi Iwai
0 siblings, 1 reply; 3+ messages in thread
From: David Henningsson @ 2015-06-25 8:19 UTC (permalink / raw)
To: tiwai, alsa-devel
This alsa-lib patch seems to have been forgotten? Or at least not pushed
out.
On 2015-06-18 10:47, David Henningsson wrote:
> In case the hardware only supports a specific channel map,
> this change would allow surround41/50 to select the correct
> channel map and channel count in this situation.
>
> Signed-off-by: David Henningsson <david.henningsson@canonical.com>
> ---
> src/conf/pcm/surround41.conf | 11 +++++------
> src/conf/pcm/surround50.conf | 11 +++++------
> 2 files changed, 10 insertions(+), 12 deletions(-)
>
> diff --git a/src/conf/pcm/surround41.conf b/src/conf/pcm/surround41.conf
> index 10e486e..2f82381 100644
> --- a/src/conf/pcm/surround41.conf
> +++ b/src/conf/pcm/surround41.conf
> @@ -53,12 +53,11 @@ pcm.!surround41 {
> ]
> }
> }
> - slave.channels 6
> - ttable.0.0 1
> - ttable.1.1 1
> - ttable.2.2 1
> - ttable.3.3 1
> - ttable.4.5 1
> + ttable.0.FL 1
> + ttable.1.FR 1
> + ttable.2.RL 1
> + ttable.3.RR 1
> + ttable.4.LFE 1
> hint {
> description "4.1 Surround output to Front, Rear and Subwoofer speakers"
> device $DEV
> diff --git a/src/conf/pcm/surround50.conf b/src/conf/pcm/surround50.conf
> index 7b7b17e..dc95c17 100644
> --- a/src/conf/pcm/surround50.conf
> +++ b/src/conf/pcm/surround50.conf
> @@ -53,12 +53,11 @@ pcm.!surround50 {
> ]
> }
> }
> - slave.channels 6
> - ttable.0.0 1
> - ttable.1.1 1
> - ttable.2.2 1
> - ttable.3.3 1
> - ttable.4.4 1
> + ttable.0.FL 1
> + ttable.1.FR 1
> + ttable.2.RL 1
> + ttable.3.RR 1
> + ttable.4.FC 1
> hint {
> description "5.0 Surround output to Front, Center and Rear speakers"
> device $DEV
>
--
David Henningsson, Canonical Ltd.
https://launchpad.net/~diwic
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] surround41/50.conf: Use chmap syntax for better flexibility
2015-06-25 8:19 ` David Henningsson
@ 2015-06-25 8:35 ` Takashi Iwai
0 siblings, 0 replies; 3+ messages in thread
From: Takashi Iwai @ 2015-06-25 8:35 UTC (permalink / raw)
To: David Henningsson; +Cc: alsa-devel
At Thu, 25 Jun 2015 10:19:23 +0200,
David Henningsson wrote:
>
> This alsa-lib patch seems to have been forgotten? Or at least not pushed
> out.
Oops, pushed out now.
Takashi
> On 2015-06-18 10:47, David Henningsson wrote:
> > In case the hardware only supports a specific channel map,
> > this change would allow surround41/50 to select the correct
> > channel map and channel count in this situation.
> >
> > Signed-off-by: David Henningsson <david.henningsson@canonical.com>
> > ---
> > src/conf/pcm/surround41.conf | 11 +++++------
> > src/conf/pcm/surround50.conf | 11 +++++------
> > 2 files changed, 10 insertions(+), 12 deletions(-)
> >
> > diff --git a/src/conf/pcm/surround41.conf b/src/conf/pcm/surround41.conf
> > index 10e486e..2f82381 100644
> > --- a/src/conf/pcm/surround41.conf
> > +++ b/src/conf/pcm/surround41.conf
> > @@ -53,12 +53,11 @@ pcm.!surround41 {
> > ]
> > }
> > }
> > - slave.channels 6
> > - ttable.0.0 1
> > - ttable.1.1 1
> > - ttable.2.2 1
> > - ttable.3.3 1
> > - ttable.4.5 1
> > + ttable.0.FL 1
> > + ttable.1.FR 1
> > + ttable.2.RL 1
> > + ttable.3.RR 1
> > + ttable.4.LFE 1
> > hint {
> > description "4.1 Surround output to Front, Rear and Subwoofer speakers"
> > device $DEV
> > diff --git a/src/conf/pcm/surround50.conf b/src/conf/pcm/surround50.conf
> > index 7b7b17e..dc95c17 100644
> > --- a/src/conf/pcm/surround50.conf
> > +++ b/src/conf/pcm/surround50.conf
> > @@ -53,12 +53,11 @@ pcm.!surround50 {
> > ]
> > }
> > }
> > - slave.channels 6
> > - ttable.0.0 1
> > - ttable.1.1 1
> > - ttable.2.2 1
> > - ttable.3.3 1
> > - ttable.4.4 1
> > + ttable.0.FL 1
> > + ttable.1.FR 1
> > + ttable.2.RL 1
> > + ttable.3.RR 1
> > + ttable.4.FC 1
> > hint {
> > description "5.0 Surround output to Front, Center and Rear speakers"
> > device $DEV
> >
>
> --
> David Henningsson, Canonical Ltd.
> https://launchpad.net/~diwic
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-06-25 8:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-18 8:47 [PATCH] surround41/50.conf: Use chmap syntax for better flexibility David Henningsson
2015-06-25 8:19 ` David Henningsson
2015-06-25 8:35 ` Takashi Iwai
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.