[RFC] compatibility between alsa-kernel and alsa-lib

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

 



Takashi Iwai <tiwai@xxxxxxx> writes:

> > I may have already raised this (sorry), but from times to times, a
> > change in a driver (ie a mixer element change) is coupled with a
> > corresponding change in the config file in
> > /usr/share/alsa/cards/).
> > 
> > This means that there's a point of linkage between alsa-kernel and
> > alsa-lib (that is one has to use older releases for both kernel
> > and libs or new releases for both).
> > 
> > Is there a way to ensure some compatibility, ie alsa-lib-1.0.20
> > will work with both kernel-2.6.32 and kernel-2.6.16 despite driver
> > snd-foobar has changed it's mixer in kernel-2.6.20?
> > 
> > Maybe with versionnated config files or versionnated definitions
> > in the config files?
> > 
> > I know that this can be hard since more and more change will be
> > accumulated (on the other hand, such changes don't happen that
> > often).
> 
> Yes, that's a missing part, so far.
> 
> Currently, we keep the backward compatibility as much as possible.
> For example, if a control element is renamed, we keep the old entry
> with "optional true" attribute so that the same config works for
> older version.  But, this wouldn't work if the device number changes
> or any other critical change occurs.
> 
> The versioned config would be a solution.  The question is how to
> take the version number/string.  One possible idea is that a card
> provides a read-only control element named "Version" with
> IFACE_CARD.  Or simply a new ioctl for this purpose.
> 
> Anyway, this implementation should be more discussed on alsa-devel
> ML.

let's forward it alsa-devel@ ml then.

-------------------------------------------------------------------------
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
_______________________________________________
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