Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PoroCYon
Bonzomatic
Commits
a4885446
Commit
a4885446
authored
May 09, 2020
by
Ivan Sychov
Committed by
Gargaj
May 09, 2020
Browse files
Fix useInput parameter parsing
parent
5b22dc8e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main.cpp
View file @
a4885446
...
...
@@ -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"
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment