perf annotate: Add percent_type to struct annotation_options
[linux/fpc-iii.git] / sound / xen / xen_snd_front_cfg.h
blob2353fcc74889681140c45bc3fc47e00040f6ba7d
1 /* SPDX-License-Identifier: GPL-2.0 OR MIT */
3 /*
4 * Xen para-virtual sound device
6 * Copyright (C) 2016-2018 EPAM Systems Inc.
8 * Author: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
9 */
11 #ifndef __XEN_SND_FRONT_CFG_H
12 #define __XEN_SND_FRONT_CFG_H
14 #include <sound/core.h>
15 #include <sound/pcm.h>
17 struct xen_snd_front_info;
19 struct xen_front_cfg_stream {
20 int index;
21 char *xenstore_path;
22 struct snd_pcm_hardware pcm_hw;
25 struct xen_front_cfg_pcm_instance {
26 char name[80];
27 int device_id;
28 struct snd_pcm_hardware pcm_hw;
29 int num_streams_pb;
30 struct xen_front_cfg_stream *streams_pb;
31 int num_streams_cap;
32 struct xen_front_cfg_stream *streams_cap;
35 struct xen_front_cfg_card {
36 char name_short[32];
37 char name_long[80];
38 struct snd_pcm_hardware pcm_hw;
39 int num_pcm_instances;
40 struct xen_front_cfg_pcm_instance *pcm_instances;
43 int xen_snd_front_cfg_card(struct xen_snd_front_info *front_info,
44 int *stream_cnt);
46 #endif /* __XEN_SND_FRONT_CFG_H */