Sound Open Firmware
Loading...
Searching...
No Matches
selector.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: BSD-3-Clause
2 *
3 * Copyright(c) 2019 Intel Corporation. All rights reserved.
4 *
5 * Author: Lech Betlej <lech.betlej@linux.intel.com>
6 */
7
8#ifndef __USER_SELECTOR_H__
9#define __USER_SELECTOR_H__
10
11#include <stdint.h>
12
15 /* selector supports 1 input and 1 output */
18 /* note: 0 for in_channels_count or out_channels_count means that
19 * these are variable values and will be fetched from pcm params;
20 * if 2 or 4 output channels selected the component works in
21 * a passthrough mode
22 */
23 uint32_t sel_channel;
24};
25
26#endif /* __USER_SELECTOR_H__ */
Selector component configuration data.
Definition selector.h:14
uint32_t in_channels_count
accepted values 0, 2 or 4
Definition selector.h:16
uint32_t sel_channel
0..3
Definition selector.h:23
uint32_t out_channels_count
accepted values 0, 1, 2 or 4
Definition selector.h:17