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
1040 } enumerated;1040 } enumerated;
1041 unsigned char reserved[128];1041 unsigned char reserved[128];
1042 } value;1042 } value;
1043 union {1043 unsigned char reserved[64];
1044 unsigned short d[4]; /* dimensions */
1045 unsigned short *d_ptr; /* indirect - obsoleted */
1046 } dimen;
1047 unsigned char reserved[64-4*sizeof(unsigned short)];
1048};1044};
1049 1045
1050struct snd_ctl_elem_value {1046struct snd_ctl_elem_value {