Compare commits

..

No commits in common. "947abb3c01b82507b94a7e7eef7e7d8c89a8eba7" and "41bf1322ac019f1ec19dbdcaec2263d15ea36b2a" have entirely different histories.

3 changed files with 2 additions and 17 deletions

View File

@ -59,14 +59,6 @@ Scripts can be loaded from text files, for example in Powershell:
./vmrcli.exe -D1 $(Get-Content .\example_commands.txt)
```
## `Build`
Run the included `makefile` to build with [GNU Make](https://www.gnu.org/software/make/).
By default the log.c module is built with coloured logging enabled. To disable this you can override the `LOG_USE_COLOR` variable, for example:
`make LOG_USE_COLOR=no`
## `Official Documentation`
- [Voicemeeter Remote C API](https://github.com/onyx-and-iris/Voicemeeter-SDK/blob/main/VoicemeeterRemoteAPI.pdf)

View File

@ -9,12 +9,7 @@ EXE := $(BIN_DIR)/$(program).exe
SRC := $(wildcard $(SRC_DIR)/*.c)
OBJ := $(SRC:$(SRC_DIR)/%.c=$(OBJ_DIR)/%.o)
LOG_USE_COLOR ?= yes
ifeq ($(LOG_USE_COLOR), yes)
CPPFLAGS := -Iinclude -MMD -MP -DLOG_USE_COLOR
else
CPPFLAGS := -Iinclude -MMD -MP
endif
CPPFLAGS := -Iinclude -MMD -MP
CFLAGS = -O -Wall -W -pedantic -ansi -std=c99
LDFLAGS := -Llib
LDLIBS := -lm

View File

@ -194,7 +194,6 @@ void interactive(T_VBVMR_INTERFACE *vmr)
continue;
}
i = 0;
log_trace("commands still in buffer: %s", p);
while (!isspace(*p))
command[i++] = *p++;
@ -206,7 +205,6 @@ void interactive(T_VBVMR_INTERFACE *vmr)
}
p = input; /* reset pointer */
memset(input, '\0', sizeof(input)); /* reset input buffer */
printf(">> ");
}
}