xref: /linux/sound/xen/xen_snd_front_alsa.h (revision 3eb66e91a25497065c5322b1268cbc3953642227)
1 /* SPDX-License-Identifier: GPL-2.0 OR MIT */
2 
3 /*
4  * Xen para-virtual sound device
5  *
6  * Copyright (C) 2016-2018 EPAM Systems Inc.
7  *
8  * Author: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
9  */
10 
11 #ifndef __XEN_SND_FRONT_ALSA_H
12 #define __XEN_SND_FRONT_ALSA_H
13 
14 struct xen_snd_front_info;
15 
16 int xen_snd_front_alsa_init(struct xen_snd_front_info *front_info);
17 
18 void xen_snd_front_alsa_fini(struct xen_snd_front_info *front_info);
19 
20 void xen_snd_front_alsa_handle_cur_pos(struct xen_snd_front_evtchnl *evtchnl,
21 				       u64 pos_bytes);
22 
23 #endif /* __XEN_SND_FRONT_ALSA_H */
24