/ source / libxmp-lite / src / virtual.h
virtual.h
 1  #ifndef LIBXMP_VIRTUAL_H
 2  #define LIBXMP_VIRTUAL_H
 3  
 4  #include "common.h"
 5  
 6  #define VIRT_ACTION_CUT		XMP_INST_NNA_CUT
 7  #define VIRT_ACTION_CONT	XMP_INST_NNA_CONT
 8  #define VIRT_ACTION_OFF		XMP_INST_NNA_OFF
 9  #define VIRT_ACTION_FADE	XMP_INST_NNA_FADE
10  
11  #define VIRT_ACTIVE		0x100
12  #define VIRT_INVALID		-1
13  
14  int	libxmp_virt_on		(struct context_data *, int);
15  void	libxmp_virt_off		(struct context_data *);
16  int	libxmp_virt_mute	(struct context_data *, int, int);
17  int	libxmp_virt_setpatch	(struct context_data *, int, int, int, int,
18  				 int, int, int, int);
19  int	libxmp_virt_cvt8bit	(void);
20  void	libxmp_virt_setnote	(struct context_data *, int, int);
21  void	libxmp_virt_setsmp	(struct context_data *, int, int);
22  void	libxmp_virt_setnna	(struct context_data *, int, int);
23  void	libxmp_virt_pastnote	(struct context_data *, int, int);
24  void	libxmp_virt_setvol	(struct context_data *, int, int);
25  void	libxmp_virt_voicepos	(struct context_data *, int, double);
26  double	libxmp_virt_getvoicepos	(struct context_data *, int);
27  void	libxmp_virt_setperiod	(struct context_data *, int, double);
28  void	libxmp_virt_setpan	(struct context_data *, int, int);
29  void	libxmp_virt_seteffect	(struct context_data *, int, int, int);
30  int	libxmp_virt_cstat	(struct context_data *, int);
31  int	libxmp_virt_mapchannel	(struct context_data *, int);
32  void	libxmp_virt_resetchannel(struct context_data *, int);
33  void	libxmp_virt_resetvoice	(struct context_data *, int, int);
34  void	libxmp_virt_reset	(struct context_data *);
35  void	libxmp_virt_release	(struct context_data *, int, int);
36  void	libxmp_virt_reverse	(struct context_data *, int, int);
37  int	libxmp_virt_getroot	(struct context_data *, int);
38  
39  #endif /* LIBXMP_VIRTUAL_H */