rename ivmr.c to interface.c

dynamically allocate interface memory.

remove global var iVMR

fix duplicate error code for VBVMR_Logout and VBVMR_RunVoicemeeter
This commit is contained in:
2024-07-23 17:26:59 +01:00
parent 086f5dd28a
commit 6179374eaa
2 changed files with 54 additions and 49 deletions

15
include/interface.h Normal file
View File

@@ -0,0 +1,15 @@
/**
* Copyright (c) 2024 Onyx and Iris
*
* This library is free software; you can redistribute it and/or modify it
* under the terms of the MIT license. See `ivmr.c` for details.
*/
#ifndef __IVMR_H__
#define __IVMR_H__
#include "VoicemeeterRemote.h"
PT_VMR create_interface();
#endif /* __IVMR_H__ */