2024-06-25 04:34:28 +01:00
|
|
|
#ifndef __VMR_H__
|
|
|
|
#define __VMR_H__
|
|
|
|
|
2024-06-27 01:17:09 +01:00
|
|
|
#include <stdbool.h>
|
|
|
|
#include "voicemeeterRemote.h"
|
|
|
|
|
2024-06-25 16:46:35 +01:00
|
|
|
enum kind
|
|
|
|
{
|
|
|
|
BASIC = 1,
|
|
|
|
BANANA,
|
|
|
|
POTATO,
|
2024-06-29 03:05:51 +01:00
|
|
|
BASICX64,
|
|
|
|
BANANAX64,
|
|
|
|
POTATOX64,
|
2024-06-25 16:46:35 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
long login(T_VBVMR_INTERFACE *iVMR, int kind);
|
2024-06-25 04:34:28 +01:00
|
|
|
long logout(T_VBVMR_INTERFACE *iVMR);
|
2024-06-25 16:46:35 +01:00
|
|
|
long run_voicemeeter(T_VBVMR_INTERFACE *iVMR, int kind);
|
2024-06-25 04:34:28 +01:00
|
|
|
long type(T_VBVMR_INTERFACE *iVMR, long *type);
|
|
|
|
long version(T_VBVMR_INTERFACE *iVMR, long *version);
|
|
|
|
|
2024-06-26 05:05:13 +01:00
|
|
|
bool is_pdirty(T_VBVMR_INTERFACE *iVMR);
|
2024-06-25 23:32:32 +01:00
|
|
|
long get_parameter_float(T_VBVMR_INTERFACE *iVMR, char *param, float *f);
|
2024-06-27 23:26:46 +01:00
|
|
|
long get_parameter_string(T_VBVMR_INTERFACE *iVMR, char *param, unsigned short *s);
|
2024-06-26 00:03:50 +01:00
|
|
|
long set_parameter_float(T_VBVMR_INTERFACE *iVMR, char *param, float val);
|
|
|
|
long set_parameter_string(T_VBVMR_INTERFACE *iVMR, char *param, char *s);
|
2024-06-25 04:34:28 +01:00
|
|
|
long set_parameters(T_VBVMR_INTERFACE *iVMR, char *command);
|
|
|
|
|
2024-06-26 05:07:06 +01:00
|
|
|
bool is_mdirty(T_VBVMR_INTERFACE *iVMR);
|
2024-06-25 04:34:28 +01:00
|
|
|
long macrobutton_getstatus(T_VBVMR_INTERFACE *iVMR, long n, float *val, long mode);
|
|
|
|
long macrobutton_setstatus(T_VBVMR_INTERFACE *iVMR, long n, float val, long mode);
|
|
|
|
|
|
|
|
void clear_dirty(T_VBVMR_INTERFACE *iVMR);
|
|
|
|
|
|
|
|
#endif
|