History

ALSA: ctl: remove dimen member from elem_info structure

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.

Takashi Sakamoto committed 6 years ago

Commit ff163511 parent e67c3f02 files · +1 −37Browse files

Showing the changes to include/uapi (1 of 2 files). Show all

Unified · Split

include/uapi/sound/asound.h+1−5
@@ -1040,11 +1040,7 @@ struct snd_ctl_elem_info { · 1039 unmodified lines
10401040 } enumerated;
10411041 unsigned char reserved[128];
10421042 } 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];
10481044 };
10491045
10501046 struct snd_ctl_elem_value {