• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* Copyright 2019 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_PLAYBACK_RCLIENT_H_
7 #define CRAS_PLAYBACK_RCLIENT_H_
8 
9 struct cras_rclient;
10 
11 /* Creates a playback rclient structure.
12  * Args:
13  *    fd - The file descriptor used for communication with the client.
14  *    id - Unique identifier for this client.
15  * Returns:
16  *    A pointer to the newly created rclient on success, NULL on failure.
17  */
18 struct cras_rclient *cras_playback_rclient_create(int fd, size_t id);
19 
20 #endif /* CRAS_PLAYBACK_RCLIENT_H_ */
21