diff --git a/BUILD.bazel b/BUILD.bazel index 050b168..6dc1b6f 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -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", ) diff --git a/src/audio_device.c b/src/audio_device.c index 10f8428..679a3a6 100644 --- a/src/audio_device.c +++ b/src/audio_device.c @@ -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; }