Sound Open Firmware
Loading...
Searching...
No Matches
stream.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: BSD-3-Clause
2
*
3
* Copyright(c) 2016 Intel Corporation. All rights reserved.
4
*
5
* Author: Liam Girdwood <liam.r.girdwood@linux.intel.com>
6
* Keyon Jie <yang.jie@linux.intel.com>
7
*/
8
9
#ifndef __SOF_AUDIO_STREAM_H__
10
#define __SOF_AUDIO_STREAM_H__
11
12
struct
sof_ipc_pcm_params
;
13
struct
sof_ipc_vorbis_params;
14
15
enum
stream_type
{
16
STREAM_TYPE_PCM
= 0,
17
STREAM_TYPE_VORBIS
= 1,
18
};
19
20
struct
stream_params
{
21
enum
stream_type
type
;
22
union
{
23
struct
sof_ipc_pcm_params
*
pcm
;
24
struct
sof_ipc_vorbis_params *
vorbis
;
25
};
26
};
27
28
#endif
/* __SOF_AUDIO_STREAM_H__ */
stream_type
stream_type
Definition
stream.h:15
STREAM_TYPE_VORBIS
@ STREAM_TYPE_VORBIS
Definition
stream.h:17
STREAM_TYPE_PCM
@ STREAM_TYPE_PCM
Definition
stream.h:16
sof_ipc_pcm_params
Definition
stream.h:95
stream_params
Definition
stream.h:20
stream_params::pcm
struct sof_ipc_pcm_params * pcm
Definition
stream.h:23
stream_params::vorbis
struct sof_ipc_vorbis_params * vorbis
Definition
stream.h:24
stream_params::type
enum stream_type type
Definition
stream.h:21
src
include
sof
audio
stream.h
Generated by
1.15.0