diff options
Diffstat (limited to 'cras/src/server/cras_system_state.h')
-rw-r--r-- | cras/src/server/cras_system_state.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/cras/src/server/cras_system_state.h b/cras/src/server/cras_system_state.h index ff04606a..bd09395c 100644 --- a/cras/src/server/cras_system_state.h +++ b/cras/src/server/cras_system_state.h @@ -134,9 +134,21 @@ void cras_system_set_bt_fix_a2dp_packet_size_enabled(bool enabled); /* Gets the flag of Bluetooth fixed A2DP packet size. */ bool cras_system_get_bt_fix_a2dp_packet_size_enabled(); +/* Sets the flag to enable or disable Noise Cancellation. */ +void cras_system_set_noise_cancellation_enabled(bool enabled); + +/* Gets the flag of Noise Cancellation. */ +bool cras_system_get_noise_cancellation_enabled(); + /* Checks if the card ignores the ucm suffix. */ bool cras_system_check_ignore_ucm_suffix(const char *card_name); +/* Returns true if hotword detection is paused at system suspend. */ +bool cras_system_get_hotword_pause_at_suspend(); + +/* Sets whether to pause hotword detection at system suspend. */ +void cras_system_set_hotword_pause_at_suspend(bool pause); + /* Adds a card at the given index to the system. When a new card is found * (through a udev event notification) this will add the card to the system, * causing its devices to become available for playback/capture. |