6390f52420
use log_level to set level
2025-12-02 02:23:46 +00:00
ca15785789
-D flag changed to -l flag. It now expects a string. (DEBUG, INFO etc)
...
-v flag now prints the cli version
new flag -e prints extra console info
new flag -f, prevents the CLI from splitting strings on spaces. This allows users to pass string requests containing spaces (setting devices, naming channel labels etc)
2025-12-02 02:09:25 +00:00
9388844acb
add IS_64_BIT macro to interface.h
2024-07-25 22:14:06 +01:00
955edb781c
get new len from strcspn
...
remove reset input buffer
2024-07-25 21:35:56 +01:00
a719af8265
use ++i
2024-07-25 17:34:38 +01:00
7c46f30e62
minor bump
2024-07-23 17:33:03 +01:00
41a256786f
add terminate()
...
logs fatal, frees dyn memory and exits with EXIT_FAILURE
2024-07-23 17:27:47 +01:00
6179374eaa
rename ivmr.c to interface.c
...
dynamically allocate interface memory.
remove global var iVMR
fix duplicate error code for VBVMR_Logout and VBVMR_RunVoicemeeter
2024-07-23 17:26:59 +01:00
086f5dd28a
typo fix
2024-07-13 12:04:47 +01:00
2c1c7033d5
minor ver bump
2024-07-13 11:50:47 +01:00
218186781d
test vmr for NULL, if so exit
...
log timeout if login() returns -2
make functions in this module static. They aren't expected to be called elsewhere
2024-07-13 11:47:37 +01:00
ca803c09ed
add docstrings to the wrapper functions
2024-07-13 11:45:30 +01:00
9eb0d2f623
move clear back into wrapper.c
...
remove some of the duplicate includes
2024-07-13 11:44:57 +01:00
453797b0d9
create_interface() return NULL if interface fails to initialize
2024-07-13 11:43:21 +01:00
de70cd39cf
move clear intil util.c
2024-07-12 18:46:05 +01:00
b225ba5cc3
allow clear to accept either dirty func as pointer
2024-07-12 17:09:12 +01:00
35335a60aa
add with_prompt docstring
2024-07-12 15:01:30 +01:00
a7c0bc1620
fix comment
2024-07-12 12:05:43 +01:00
25692a9f35
increase input buffer size
...
when resetting buffer, clear only bits written to
2024-07-12 12:04:03 +01:00
a05b029e9d
specify enum type
2024-07-11 18:45:35 +01:00
68c2022ad7
return quickcommands + i
2024-07-10 23:57:19 +01:00
ff2970f4c5
move quickcommands into parse_command()
2024-07-10 23:37:49 +01:00
c1dad8b99c
minor bump
2024-07-10 18:17:13 +01:00
2f2e503ae3
implements a short list of quickcommands
2024-07-10 18:15:11 +01:00
ff69837f19
add LOGIN_TIMEOUT macro
2024-07-10 18:11:58 +01:00
b35a29396b
add -I flag for disabling >> on the interactive prompt
...
return early from parse_input() if input is a comment
add comments to example_commands.txt
upd README.
minor ver bump
2024-07-10 10:51:53 +01:00
39540e9c3e
add pragma macros,
...
silences -Wcast-function-type
2024-07-09 15:57:38 +01:00
af98dead75
swap blocks.
2024-07-09 15:11:48 +01:00
ad91a7f4e6
log fatal exit points
2024-07-09 13:18:57 +01:00
8d9e70b79a
patch bump
2024-07-09 13:14:52 +01:00
d7d42e4b21
upd makefile to compile for c2x
...
replace fallthrough comment with fallthrough attribute
2024-07-09 12:59:46 +01:00
b2bdd21da5
add USAGE, OPTSTR macros
...
rename help() to usage()
log_warn() an unknown option
condense set_kind()
2024-07-09 12:43:32 +01:00
82823687db
minor bump
2024-07-08 18:01:10 +01:00
3d00c7dd4f
upd parse_input() desc
2024-07-08 17:31:24 +01:00
c95ff0e163
add :, delimiters to parse_input()
...
remove replace_blanks_with_single_space()
2024-07-08 17:29:23 +01:00
dc8a4036c8
upd utility functions
2024-07-08 16:01:14 +01:00
6b7e0afb91
add get desc
2024-07-08 08:45:14 +01:00
bc7568a191
bump wait after loading config by 50ms
2024-07-07 07:38:39 +01:00
c5c9360d32
wait and then clear dirty parameters after loading a config
2024-07-07 07:01:03 +01:00
9ee3f42334
don't attempt to print a string result if parameter unknown
2024-07-07 06:30:20 +01:00
61d81b0abf
fix docstring
2024-07-06 13:42:24 +01:00
03b45129dd
fix link to Voicemeeter SDK license
2024-07-06 09:36:33 +01:00
b4519cc2cc
upd docstrings in util.c
2024-07-06 09:09:11 +01:00
19a3a16b74
rename vmr module to wrapper.
...
rename cdll module to ivmr
upd doc strings
2024-07-06 09:03:13 +01:00
09793afafa
upd instruction for -c.
...
giving file name is unreliable.
2024-07-05 12:05:50 +01:00
8bdbfe9b04
change -p for -c, seems more intuitive
2024-07-05 11:28:29 +01:00
f87977165a
add -p flag for loading a user configuration file.
...
add -p explanation to README
2024-07-05 11:21:46 +01:00
36eadb4b58
remove func prototype
2024-07-05 10:51:26 +01:00
930093da7f
add create_interface() to cdll.c.
...
Use it to initialize the dll interface and return a pointer to it.
2024-07-05 10:41:07 +01:00
a28db25bcc
define mb function pointers in the iVMR interface.
...
add trace logs for login, logout and mb functions
2024-07-04 12:19:04 +01:00