Remove bool_text from struct alsa_elem

Store the text in the boolean/dual widget private data.
This commit is contained in:
Geoffrey D. Bennett
2024-01-19 16:22:18 +10:30
parent e655ee39ce
commit 099e50b91e
3 changed files with 12 additions and 14 deletions

View File

@@ -140,10 +140,6 @@ struct alsa_elem {
// the callback functions for this ALSA control element
GList *callbacks;
// for boolean buttons, the two possible texts
// for dual buttons, the four possible texts
const char *bool_text[4];
// for simulated elements, the current state
int writable;
long value;