[alsa-devel] [PATCH 2/4 v7] ALSA: usb-audio: Add private_data pointer to usb_mixer_elem_info
Chris J Arges
chris.j.arges at canonical.com
Wed Nov 12 19:07:00 CET 2014
Add a private_data pointer to usb_mixer_elem_info to allow other mixer
implementations to extend the structure as necessary.
Signed-off-by: Chris J Arges <chris.j.arges at canonical.com>
---
sound/usb/mixer.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/usb/mixer.h b/sound/usb/mixer.h
index 73b1f64..8df9a73 100644
--- a/sound/usb/mixer.h
+++ b/sound/usb/mixer.h
@@ -53,6 +53,7 @@ struct usb_mixer_elem_info {
int cached;
int cache_val[MAX_CHANNELS];
u8 initialized;
+ void *private_data;
};
int snd_usb_create_mixer(struct snd_usb_audio *chip, int ctrlif,
--
2.1.3
More information about the Alsa-devel
mailing list