Re: [ibm-acpi-devel] Adding a alsa mixer interface to ibm-acpi

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 07 Mar 2007, Takashi Iwai wrote:
> Well, it's a question whether this should be an add-on module or a
> built-in to the sound driver.  From the usability viewpoint, the
> latter is much easier.  Then we have no module loading order problem
> and need no API extension.  Of course, the drawback is that the
> unnecessary growth of the code / binary size for non-thinkpad users.

Which is quite a serious drawback.  I am not at all opposed to writing a
mixer piggy-back, but IMHO if we are going to do it that way, it would be
best to create an API that allows an alsa module to extend the functionality
of another module, *and* provide the proper callbacks to have it work in
full hotplug mode (i.e. it will do the right thing no matter in which way
the modules are loaded, and also if the device is hotplugged or
hotunplugged).

> > > I suppose it does mean you can use alsamixer to manipulate the sound,
> > > but from the user's point of view, if it's not visible when they right
> > > clock on the mixer applet (because it's not associated with the
> > > laptop's primary sound card), is it really that useful?
> > 
> > If they got a mixer applet worth something, it will list two cards, or allow
> > them to have two instances, one for each card.
> 
> I guess it's rather confusing.  Both controls the very same device for
> the very same role in the end, so it'd be better to be merged in some
> level, IMO.

Very well.  Do you want me to start a "requirements" document for the API,
so that we can start walking down that road?

On the ibm-acpi side, I can just merge in the mixer as a separate card for
now, with the proper notices that it is not a stable interface and that it
will go away in the future.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux