Index: media/audio/cras/cras_input.h |
diff --git a/media/audio/cras/cras_input.h b/media/audio/cras/cras_input.h |
index 1919224d9a9b2f77187c35a1f0a669f5aef2d629..615e4f43f33ec15e339f388e0093658de59456f3 100644 |
--- a/media/audio/cras/cras_input.h |
+++ b/media/audio/cras/cras_input.h |
@@ -51,6 +51,15 @@ class CrasInputStream : public AgcAudioStream<AudioInputStream> { |
const timespec* sample_ts, |
void* arg); |
+ // This will be called by the audio server once after it recieves a wakeup |
+ // and has data. |
+ static int HotwordSampleReady(cras_client* client, |
+ cras_audio_format* fmt, |
+ uint8* hotword_phrase, |
+ size_t frames, |
+ const timespec* sample_ts, |
+ void* arg); |
+ |
// Handles notification that there was an error with the playback stream. |
static int StreamError(cras_client* client, |
cras_stream_id_t stream_id, |