Commit a4885446 authored by Ivan Sychov's avatar Ivan Sychov Committed by Gargaj
Browse files

Fix useInput parameter parsing

parent 5b22dc8e
......@@ -105,7 +105,7 @@ int main(int argc, const char *argv[])
settings.sFFT.pDeviceID = NULL;
if (options.has<jsonxx::Object>("audio"))
if (options.get<jsonxx::Object>("audio").has<jsonxx::Number>("useInput"))
if (options.get<jsonxx::Object>("audio").has<jsonxx::Boolean>("useInput"))
settings.sFFT.bUseRecordingDevice = options.get<jsonxx::Object>("audio").get<jsonxx::Boolean>("useInput");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment