mirror of
https://github.com/onyx-and-iris/vmrcli.git
synced 2025-01-18 08:41:08 +00:00
rename pdirty() to is_pdirty()
This commit is contained in:
parent
6d583b97e1
commit
f1e059c5ca
@ -18,7 +18,7 @@ long run_voicemeeter(T_VBVMR_INTERFACE *iVMR, int kind);
|
|||||||
long type(T_VBVMR_INTERFACE *iVMR, long *type);
|
long type(T_VBVMR_INTERFACE *iVMR, long *type);
|
||||||
long version(T_VBVMR_INTERFACE *iVMR, long *version);
|
long version(T_VBVMR_INTERFACE *iVMR, long *version);
|
||||||
|
|
||||||
bool pdirty(T_VBVMR_INTERFACE *iVMR);
|
bool is_pdirty(T_VBVMR_INTERFACE *iVMR);
|
||||||
long get_parameter_float(T_VBVMR_INTERFACE *iVMR, char *param, float *f);
|
long get_parameter_float(T_VBVMR_INTERFACE *iVMR, char *param, float *f);
|
||||||
long get_parameter_string(T_VBVMR_INTERFACE *iVMR, char *param, char *s);
|
long get_parameter_string(T_VBVMR_INTERFACE *iVMR, char *param, char *s);
|
||||||
long set_parameter_float(T_VBVMR_INTERFACE *iVMR, char *param, float val);
|
long set_parameter_float(T_VBVMR_INTERFACE *iVMR, char *param, float val);
|
||||||
|
@ -58,7 +58,7 @@ long version(T_VBVMR_INTERFACE *iVMR, long *version)
|
|||||||
return iVMR->VBVMR_GetVoicemeeterType(version);
|
return iVMR->VBVMR_GetVoicemeeterType(version);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool pdirty(T_VBVMR_INTERFACE *iVMR)
|
bool is_pdirty(T_VBVMR_INTERFACE *iVMR)
|
||||||
{
|
{
|
||||||
return iVMR->VBVMR_IsParametersDirty() == 1;
|
return iVMR->VBVMR_IsParametersDirty() == 1;
|
||||||
}
|
}
|
||||||
@ -106,6 +106,6 @@ long macrobutton_setstatus(T_VBVMR_INTERFACE *iVMR, long n, float val, long mode
|
|||||||
void clear_dirty(T_VBVMR_INTERFACE *iVMR)
|
void clear_dirty(T_VBVMR_INTERFACE *iVMR)
|
||||||
{
|
{
|
||||||
Sleep(30);
|
Sleep(30);
|
||||||
while (pdirty(iVMR))
|
while (is_pdirty(iVMR))
|
||||||
Sleep(1);
|
Sleep(1);
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user