Home
last modified time | relevance | path

Searched refs:hotword_dev (Results 1 – 1 of 1) sorted by relevance

/external/adhd/cras/src/server/
Dcras_iodev_list.c1314 struct cras_iodev *hotword_dev; in cras_iodev_list_suspend_hotword_streams() local
1318 rc = find_hotword_stream_dev(&hotword_dev, &stream); in cras_iodev_list_suspend_hotword_streams()
1331 if (stream->pinned_dev_idx != hotword_dev->info.idx) { in cras_iodev_list_suspend_hotword_streams()
1338 audio_thread_disconnect_stream(audio_thread, stream, hotword_dev); in cras_iodev_list_suspend_hotword_streams()
1341 close_pinned_device(hotword_dev); in cras_iodev_list_suspend_hotword_streams()
1348 struct cras_iodev *hotword_dev; in cras_iodev_list_resume_hotword_stream() local
1352 rc = find_hotword_stream_dev(&hotword_dev, &stream); in cras_iodev_list_resume_hotword_stream()
1361 init_pinned_device(hotword_dev, stream); in cras_iodev_list_resume_hotword_stream()
1365 if (stream->pinned_dev_idx != hotword_dev->info.idx) { in cras_iodev_list_resume_hotword_stream()
1373 audio_thread_add_stream(audio_thread, stream, &hotword_dev, 1); in cras_iodev_list_resume_hotword_stream()