1
2
3
4
5
6
7
8
9
10
11#ifndef __SOF_COMPRESS_H
12#define __SOF_COMPRESS_H
13
14#include <sound/compress_driver.h>
15
16extern struct snd_compress_ops sof_probe_compressed_ops;
17
18int sof_probe_compr_open(struct snd_compr_stream *cstream,
19 struct snd_soc_dai *dai);
20int sof_probe_compr_free(struct snd_compr_stream *cstream,
21 struct snd_soc_dai *dai);
22int sof_probe_compr_set_params(struct snd_compr_stream *cstream,
23 struct snd_compr_params *params, struct snd_soc_dai *dai);
24int sof_probe_compr_trigger(struct snd_compr_stream *cstream, int cmd,
25 struct snd_soc_dai *dai);
26int sof_probe_compr_pointer(struct snd_compr_stream *cstream,
27 struct snd_compr_tstamp *tstamp, struct snd_soc_dai *dai);
28int sof_probe_compr_copy(struct snd_soc_component *component,
29 struct snd_compr_stream *cstream,
30 char __user *buf, size_t count);
31
32#endif
33