summaryrefslogtreecommitdiff
path: root/cras/src/common/cras_observer_ops.h
diff options
context:
space:
mode:
Diffstat (limited to 'cras/src/common/cras_observer_ops.h')
-rw-r--r--cras/src/common/cras_observer_ops.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cras/src/common/cras_observer_ops.h b/cras/src/common/cras_observer_ops.h
index a54d044c..e73845c9 100644
--- a/cras/src/common/cras_observer_ops.h
+++ b/cras/src/common/cras_observer_ops.h
@@ -47,6 +47,10 @@ struct cras_observer_ops {
void (*num_active_streams_changed)(void *context,
enum CRAS_STREAM_DIRECTION dir,
uint32_t num_active_streams);
+ /* Number of input streams with permission changed. */
+ void (*num_input_streams_with_permission_changed)(
+ void *context,
+ uint32_t num_input_streams[CRAS_NUM_CLIENT_TYPE]);
/* Hotword triggered. */
void (*hotword_triggered)(void *context, int64_t tv_sec,
int64_t tv_nsec);