Re: RFC: minimalistic TLV implementation

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

 



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.

> Also, I don't think data_offset is necessary in the practical use.

To separate ioctl and data in the user space? But it might be that 
the 32bit->64bit conversion layer won't handle the non-continuous memory 
in a right way. I'll remove it.

					Jaroslav

-----
InterNet přes WIFI bez limitu dat, České Budějovice a okolí
Pokryté lokality: Šindlovy Dvory, Mokré, Litvínovice, Pekárenská, Srubec
Perex @ InterNet <internet@xxxxxxxx>
_______________________________________________
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