summaryrefslogtreecommitdiff
path: root/sound/xen/xen_snd_front.h
diff options
context:
space:
mode:
authorOleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>2018-05-14 09:27:38 +0300
committerTakashi Iwai <tiwai@suse.de>2018-05-16 12:58:39 +0200
commitfd3b36045c2c612b5f44a47f388677af256d1d0a (patch)
tree225cf95c572f3799842b1b317471652c3547c4fe /sound/xen/xen_snd_front.h
parentcc3196ae197c28cd6db0a2e9ddddc2e0aa1e694f (diff)
ALSA: xen-front: Read sound driver configuration from Xen store
Read configuration values from Xen store according to xen/interface/io/sndif.h protocol: - introduce configuration structures for different components, e.g. sound card, device, stream - read PCM HW parameters, e.g rate, format etc. - detect stream type (capture/playback) - read device and card parameters Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/xen/xen_snd_front.h')
-rw-r--r--sound/xen/xen_snd_front.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/xen/xen_snd_front.h b/sound/xen/xen_snd_front.h
index 4ae204b23d32..b52226cb30bc 100644
--- a/sound/xen/xen_snd_front.h
+++ b/sound/xen/xen_snd_front.h
@@ -11,8 +11,12 @@
#ifndef __XEN_SND_FRONT_H
#define __XEN_SND_FRONT_H
+#include "xen_snd_front_cfg.h"
+
struct xen_snd_front_info {
struct xenbus_device *xb_dev;
+
+ struct xen_front_cfg_card cfg;
};
#endif /* __XEN_SND_FRONT_H */