On 31-Mar-2003 Jaroslav Kysela wrote: >> the case 2 is, IMO, the most straightforward way. the info field will >> have number of rows and columns, in addition to min, max and step >> values. the change in the alsa core wouldn't be too much. > > I think that we simply touch the barrier given by 'struct > sndrv_ctl_elem_id'. The identification which differentiate identical > controls is only the 'index' value. If we don't use 'struct > sndrv_ctl_elem_id' as the identification unit for read/writing of data, > then we end with trouble with notification and other representation > (single data unit locking, inactive flag etc). Imagine three or four > dimensional data types. [...]
.count is an uint32. Ok, suppose we do not change it. Then the low level driver has to tell user space apps that the index number addresses elements in a W*H matrix, so the apps will locate the cell at (x,y) by a simple index=x+W*y. Bye. ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel