• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* Copyright (c) 2013 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_LOOPBACK_IO_H_
7 #define CRAS_LOOPBACK_IO_H_
8 
9 #include "cras_types.h"
10 
11 struct cras_iodev;
12 
13 /* Initializes loopback iodevs.  loopback iodevs provide the ability to
14  * capture exactly what is being output by the system.
15  */
16 struct cras_iodev *loopback_iodev_create(enum CRAS_LOOPBACK_TYPE type);
17 
18 /* Destroys loopback_iodevs created with loopback_iodev_create. */
19 void loopback_iodev_destroy(struct cras_iodev *loopdev);
20 
21 #endif /* CRAS_LOOPBACK_IO_H_ */
22