blob: 37f03cfb941529ef0ae3dc7bd69d252786233e19 [file] [log] [blame]
/* Copyright 2019 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_PLAYBACK_RCLIENT_H_
#define CRAS_PLAYBACK_RCLIENT_H_
struct cras_rclient;
/* Creates a playback rclient structure.
* Args:
* fd - The file descriptor used for communication with the client.
* id - Unique identifier for this client.
* Returns:
* A pointer to the newly created rclient on success, NULL on failure.
*/
struct cras_rclient *cras_playback_rclient_create(int fd, size_t id);
#endif /* CRAS_PLAYBACK_RCLIENT_H_ */