blob: 7cc5da82e6a0d33d78f58b0dd7f3bb148f81988c [file] [log] [blame]
/* Copyright (c) 2013 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_LOOPBACK_IO_H_
#define CRAS_LOOPBACK_IO_H_
#include "cras_types.h"
struct cras_iodev;
/* Initializes loopback iodevs. loopback iodevs provide the ability to
* capture exactly what is being output by the system.
*/
struct cras_iodev *loopback_iodev_create(enum CRAS_LOOPBACK_TYPE type);
/* Destroys loopback_iodevs created with loopback_iodev_create. */
void loopback_iodev_destroy(struct cras_iodev *loopdev);
#endif /* CRAS_LOOPBACK_IO_H_ */