diff options
Diffstat (limited to 'cras/src/server/cras_empty_iodev.h')
-rw-r--r-- | cras/src/server/cras_empty_iodev.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/cras/src/server/cras_empty_iodev.h b/cras/src/server/cras_empty_iodev.h deleted file mode 100644 index d85b9e02..00000000 --- a/cras/src/server/cras_empty_iodev.h +++ /dev/null @@ -1,28 +0,0 @@ -/* Copyright (c) 2012 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_EMPTY_IO_H_ -#define CRAS_EMPTY_IO_H_ - -#include "cras_types.h" - -struct cras_iodev; - -/* Initializes an empty iodev. Empty iodevs are used when there are no other - * iodevs available. They give the attached streams a temporary place to live - * until a new iodev becomes available. - * Args: - * direciton - input or output. - * node_type - the default node type. - * Returns: - * A pointer to the newly created iodev if successful, NULL otherwise. - */ -struct cras_iodev *empty_iodev_create(enum CRAS_STREAM_DIRECTION direction, - enum CRAS_NODE_TYPE node_type); - -/* Destroys an empty_iodev created with empty_iodev_create. */ -void empty_iodev_destroy(struct cras_iodev *iodev); - -#endif /* CRAS_EMPTY_IO_H_ */ |