* alsamixer foo
@ 2006-05-05 9:51 Johannes Berg
2006-05-11 14:16 ` Takashi Iwai
0 siblings, 1 reply; 8+ messages in thread
From: Johannes Berg @ 2006-05-05 9:51 UTC (permalink / raw)
To: alsa-devel
[-- Attachment #1: Type: text/plain, Size: 466 bytes --]
Can anyone explain why, if I make an ENUMERATED mixer element and name
it 'Capture Source', it shows up under the Capture category in
alsamixer, but as two buttons of which one is only selectable? And then,
when I name it 'Input Source', it shows up as a single item where I can
select the right source, but it shows up under 'Playback'?
What's the correct naming for this thing? I've seen drivers use "Input
Source" and "Capture Source" too...
johannes
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 793 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: alsamixer foo
2006-05-05 9:51 alsamixer foo Johannes Berg
@ 2006-05-11 14:16 ` Takashi Iwai
2006-05-11 14:30 ` Johannes Berg
0 siblings, 1 reply; 8+ messages in thread
From: Takashi Iwai @ 2006-05-11 14:16 UTC (permalink / raw)
To: Johannes Berg; +Cc: alsa-devel
At Fri, 05 May 2006 11:51:55 +0200,
Johannes Berg wrote:
>
> Can anyone explain why, if I make an ENUMERATED mixer element and name
> it 'Capture Source', it shows up under the Capture category in
> alsamixer, but as two buttons of which one is only selectable?
It's the behavior of the current mixer abstraction layer. It was
implemented in that way so that you have a (almost) compatible design
with the earlier version of ALSA and OSS.
> And then,
> when I name it 'Input Source', it shows up as a single item where I can
> select the right source, but it shows up under 'Playback'?
Because it doesn't contain "Capture" in its name.
> What's the correct naming for this thing? I've seen drivers use "Input
> Source" and "Capture Source" too...
"Input Source" is used for some drivers that have multiple capture
sources. Since the "Capture Source" is split to switches, the mixer
abstraction layer can't handle well the multiple "Capture Source"
controls.
Takashi
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: alsamixer foo
2006-05-11 14:16 ` Takashi Iwai
@ 2006-05-11 14:30 ` Johannes Berg
2006-05-11 14:40 ` Takashi Iwai
0 siblings, 1 reply; 8+ messages in thread
From: Johannes Berg @ 2006-05-11 14:30 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
[-- Attachment #1: Type: text/plain, Size: 824 bytes --]
On Thu, 2006-05-11 at 16:16 +0200, Takashi Iwai wrote:
> It's the behavior of the current mixer abstraction layer. It was
> implemented in that way so that you have a (almost) compatible design
> with the earlier version of ALSA and OSS.
Why?
> > And then,
> > when I name it 'Input Source', it shows up as a single item where I can
> > select the right source, but it shows up under 'Playback'?
>
> Because it doesn't contain "Capture" in its name.
Yeah ok, figured that.
> "Input Source" is used for some drivers that have multiple capture
> sources. Since the "Capture Source" is split to switches, the mixer
> abstraction layer can't handle well the multiple "Capture Source"
> controls.
Can we have it not split? Switches of which only one can be selected
absolutely *suck*.
johannes
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 793 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: alsamixer foo
2006-05-11 14:30 ` Johannes Berg
@ 2006-05-11 14:40 ` Takashi Iwai
2006-05-11 14:47 ` Johannes Berg
0 siblings, 1 reply; 8+ messages in thread
From: Takashi Iwai @ 2006-05-11 14:40 UTC (permalink / raw)
To: Johannes Berg; +Cc: alsa-devel
At Thu, 11 May 2006 16:30:24 +0200,
Johannes Berg wrote:
>
> On Thu, 2006-05-11 at 16:16 +0200, Takashi Iwai wrote:
>
> > It's the behavior of the current mixer abstraction layer. It was
> > implemented in that way so that you have a (almost) compatible design
> > with the earlier version of ALSA and OSS.
>
> Why?
See the text you cited.
> > "Input Source" is used for some drivers that have multiple capture
> > sources. Since the "Capture Source" is split to switches, the mixer
> > abstraction layer can't handle well the multiple "Capture Source"
> > controls.
>
> Can we have it not split? Switches of which only one can be selected
> absolutely *suck*.
You can create your own alsa-lib plugin for mixer abstraction that is
specific to a hardware, too.
Takashi
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: alsamixer foo
2006-05-11 14:40 ` Takashi Iwai
@ 2006-05-11 14:47 ` Johannes Berg
2006-05-11 14:52 ` Takashi Iwai
0 siblings, 1 reply; 8+ messages in thread
From: Johannes Berg @ 2006-05-11 14:47 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
[-- Attachment #1: Type: text/plain, Size: 379 bytes --]
On Thu, 2006-05-11 at 16:40 +0200, Takashi Iwai wrote:
> > > It's the behavior of the current mixer abstraction layer. It was
> > > implemented in that way so that you have a (almost) compatible design
> > > with the earlier version of ALSA and OSS.
> >
> > Why?
>
> See the text you cited.
But why did earlier versions do such weird and stupid things?
johannes
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 793 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: alsamixer foo
2006-05-11 14:47 ` Johannes Berg
@ 2006-05-11 14:52 ` Takashi Iwai
2006-05-11 15:07 ` Johannes Berg
0 siblings, 1 reply; 8+ messages in thread
From: Takashi Iwai @ 2006-05-11 14:52 UTC (permalink / raw)
To: Johannes Berg; +Cc: alsa-devel
At Thu, 11 May 2006 16:47:45 +0200,
Johannes Berg wrote:
>
> On Thu, 2006-05-11 at 16:40 +0200, Takashi Iwai wrote:
> > > > It's the behavior of the current mixer abstraction layer. It was
> > > > implemented in that way so that you have a (almost) compatible design
> > > > with the earlier version of ALSA and OSS.
> > >
> > > Why?
> >
> > See the text you cited.
>
> But why did earlier versions do such weird and stupid things?
There was no enum control at that time.
Takashi
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: alsamixer foo
2006-05-11 14:52 ` Takashi Iwai
@ 2006-05-11 15:07 ` Johannes Berg
2006-05-11 15:09 ` Takashi Iwai
0 siblings, 1 reply; 8+ messages in thread
From: Johannes Berg @ 2006-05-11 15:07 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
[-- Attachment #1: Type: text/plain, Size: 192 bytes --]
On Thu, 2006-05-11 at 16:52 +0200, Takashi Iwai wrote:
> There was no enum control at that time.
Any way to have newer programs tell the alsa lib to not "fix" it for
them?
johannes
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 793 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: alsamixer foo
2006-05-11 15:07 ` Johannes Berg
@ 2006-05-11 15:09 ` Takashi Iwai
0 siblings, 0 replies; 8+ messages in thread
From: Takashi Iwai @ 2006-05-11 15:09 UTC (permalink / raw)
To: Johannes Berg; +Cc: alsa-devel
At Thu, 11 May 2006 17:07:35 +0200,
Johannes Berg wrote:
>
> On Thu, 2006-05-11 at 16:52 +0200, Takashi Iwai wrote:
>
> > There was no enum control at that time.
>
> Any way to have newer programs tell the alsa lib to not "fix" it for
> them?
As mentioned, you can write a new plug-in to override the default
mixer abstractoin behavior.
Takashi
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2006-05-11 15:09 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-05 9:51 alsamixer foo Johannes Berg
2006-05-11 14:16 ` Takashi Iwai
2006-05-11 14:30 ` Johannes Berg
2006-05-11 14:40 ` Takashi Iwai
2006-05-11 14:47 ` Johannes Berg
2006-05-11 14:52 ` Takashi Iwai
2006-05-11 15:07 ` Johannes Berg
2006-05-11 15:09 ` 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.