The 'dimen' member of 'struct snd_ctl_elem_info' is designed to deliver information to use an array of value as multi-dimensional values. This feature is used just by echoaudio PCI driver, and fortunately it's not used by the other applications than 'echomixer' in alsa-tools. In a previous commit, usage of 'dimen' member is removed from echoaudio PCI driver. Nowadays no driver/application use the feature. This commit removes the member from structure.
Showing the changes to include/uapi (1 of 2 files). Show all
Unified · Split
| @@ -1040,11 +1040,7 @@ struct snd_ctl_elem_info { · 1039 unmodified lines | ||
| 1040 | 1040 | } enumerated; |
| 1041 | 1041 | unsigned char reserved[128]; |
| 1042 | 1042 | } value; |
| 1043 | − union { | |
| 1044 | − unsigned short d[4]; /* dimensions */ | |
| 1045 | − unsigned short *d_ptr; /* indirect - obsoleted */ | |
| 1046 | − } dimen; | |
| 1047 | − unsigned char reserved[64-4*sizeof(unsigned short)]; | |
| 1043 | + unsigned char reserved[64]; | |
| 1048 | 1044 | }; |
| 1049 | 1045 | |
| 1050 | 1046 | struct snd_ctl_elem_value { |