diff options
Diffstat (limited to 'cras/src/server/cras_audio_thread_monitor.h')
-rw-r--r-- | cras/src/server/cras_audio_thread_monitor.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/cras/src/server/cras_audio_thread_monitor.h b/cras/src/server/cras_audio_thread_monitor.h index b7355caa..39b21765 100644 --- a/cras/src/server/cras_audio_thread_monitor.h +++ b/cras/src/server/cras_audio_thread_monitor.h @@ -7,6 +7,16 @@ #define CRAS_AUDIO_THREAD_MONITOR_H_ /* + * Notifies the main thread when A2DP buffer overruns. + */ +int cras_audio_thread_event_a2dp_overrun(); + +/* + * Notifies the main thread when A2DP packet transmittion throttles. + */ +int cras_audio_thread_event_a2dp_throttle(); + +/* * Sends a debug event to the audio thread for debugging. */ int cras_audio_thread_event_debug(); @@ -32,6 +42,11 @@ int cras_audio_thread_event_severe_underrun(); int cras_audio_thread_event_drop_samples(); /* + * Notifies the main thread when a device overrun event happens. + */ +int cras_audio_thread_event_dev_overrun(); + +/* * Initializes audio thread monitor and sets main thread callback. */ int cras_audio_thread_monitor_init(); |