[client] main: add micDefaultState to state and params

This commit is contained in:
Quantum
2022-05-22 00:08:33 -04:00
committed by Geoffrey McRae
parent 1e660fb7e1
commit 3e079e0489

View File

@@ -45,6 +45,12 @@ enum RunState
APP_STATE_SHUTDOWN APP_STATE_SHUTDOWN
}; };
enum MicDefaultState {
MIC_DEFAULT_PROMPT,
MIC_DEFAULT_ALLOW,
MIC_DEFAULT_DENY
};
struct AppState struct AppState
{ {
enum RunState state; enum RunState state;
@@ -209,6 +215,7 @@ struct AppParams
int audioBufferLatency; int audioBufferLatency;
bool micAlwaysAllow; bool micAlwaysAllow;
bool micShowIndicator; bool micShowIndicator;
enum MicDefaultState micDefaultState;
}; };
struct CBRequest struct CBRequest