blob: ac31adb90fff9bea073fa7fd4bd0d48d2b8e1e6d [file] [log] [blame]
/* Copyright 2016 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef CRAS_DEVICE_MONITOR_H_
#define CRAS_DEVICE_MONITOR_H_
/* Asks main thread to reset a device */
int cras_device_monitor_reset_device(unsigned int dev_idx);
/* Asks main thread to set mute/unmute state on a device. */
int cras_device_monitor_set_device_mute_state(unsigned int dev_idx);
/* Initializes device monitor and sets main thread callback. */
int cras_device_monitor_init();
#endif /* CRAS_DEVICE_MONITOR_H_ */