Re: RFC: minimalistic TLV implementation

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

 



At Thu, 1 Jun 2006 17:00:30 +0200 (CEST),
Jaroslav Kysela wrote:
> 
> On Thu, 1 Jun 2006, Takashi Iwai wrote:
> 
> > At Thu, 1 Jun 2006 16:08:13 +0200 (CEST),
> > Jaroslav Kysela wrote:
> > > 
> > > On Thu, 1 Jun 2006, Takashi Iwai wrote:
> > > 
> > > > Yes.  It's similar but a really big difference if you consider about
> > > > 32/64bit compatibility.
> > > > 
> > > > Also, the order of "TLV" is type-length-value.
> > > 
> > > Ok, the second version of my patch. Note: in the ca0106 driver, only
> > > three lines (if I don't count one empty line) are required to add
> > > the dB scale information.
> > 
> > The existence of flag makes the things complicated.
> > I prefer removing flag and make the ioctl numid-specific.
> 
> It might be. It's really small work for the user space and we may use
> flags in future to determine ioctl version or some other extension at the
> ioctl level.

Well, but this ioctl is damn simple.  Just query a control element for
its TLV data.

It's supposed to be the one containing all.  If we need a filter of
returned data, the query header should contain a type field rather
than flags.


Takashi


_______________________________________________
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