1 /* Copyright 2016 The Chromium OS Authors. All rights reserved. 2 * Use of this source code is governed by a BSD-style license that can be 3 * found in the LICENSE file. 4 */ 5 6 #ifndef CRAS_DEVICE_MONITOR_H_ 7 #define CRAS_DEVICE_MONITOR_H_ 8 9 #include "cras_iodev.h" 10 11 /* Asks main thread to reset a device */ 12 int cras_device_monitor_reset_device(struct cras_iodev *iodev); 13 14 /* Asks main thread to set mute/unmute state on a device. */ 15 int cras_device_monitor_set_device_mute_state(struct cras_iodev *iodev); 16 17 /* Initializes device monitor and sets main thread callback. */ 18 int cras_device_monitor_init(); 19 20 #endif /* CRAS_DEVICE_MONITOR_H_ */ 21