mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-25 12:53:03 +01:00
Fix bazel build for games.
This commit is contained in:
parent
17e5cc1147
commit
da90ca8b74
@ -18,6 +18,7 @@ cc_binary(
|
||||
copts = [
|
||||
"-std=gnu99",
|
||||
"-DAUDIO",
|
||||
"-DGAMES",
|
||||
"-DPACKAGE_DATADIR='\"data\"'",
|
||||
"-DPYTHON",
|
||||
"-DQRCODE",
|
||||
@ -44,4 +45,5 @@ sh_test(
|
||||
name = "toxic_test",
|
||||
srcs = [":toxic"],
|
||||
args = ["--help"],
|
||||
size = "small",
|
||||
)
|
||||
|
@ -530,7 +530,7 @@ static DeviceError open_device(DeviceType type, uint32_t *device_idx, DataHandle
|
||||
device->cb_data = cb_data;
|
||||
#ifdef AUDIO
|
||||
|
||||
if (user_settings->VAD_threshold >= 0.0f) {
|
||||
if (user_settings->VAD_threshold >= 0.0) {
|
||||
device->VAD_threshold = user_settings->VAD_threshold;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user