Cezary Rojewski | e145e9a | 2020-02-18 15:39:20 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */ |
| 2 | /* |
| 3 | * This file is provided under a dual BSD/GPLv2 license. When using or |
| 4 | * redistributing this file, you may do so under either license. |
| 5 | * |
| 6 | * Copyright(c) 2019-2020 Intel Corporation. All rights reserved. |
| 7 | * |
| 8 | * Author: Cezary Rojewski <cezary.rojewski@intel.com> |
| 9 | */ |
| 10 | |
| 11 | #ifndef __SOF_COMPRESS_H |
| 12 | #define __SOF_COMPRESS_H |
| 13 | |
| 14 | #include <sound/compress_driver.h> |
| 15 | |
Cezary Rojewski | 7036810 | 2020-02-18 15:39:24 +0100 | [diff] [blame] | 16 | extern struct snd_compr_ops sof_probe_compressed_ops; |
| 17 | |
Cezary Rojewski | e145e9a | 2020-02-18 15:39:20 +0100 | [diff] [blame] | 18 | int sof_probe_compr_open(struct snd_compr_stream *cstream, |
| 19 | struct snd_soc_dai *dai); |
| 20 | int sof_probe_compr_free(struct snd_compr_stream *cstream, |
| 21 | struct snd_soc_dai *dai); |
| 22 | int sof_probe_compr_set_params(struct snd_compr_stream *cstream, |
| 23 | struct snd_compr_params *params, struct snd_soc_dai *dai); |
| 24 | int sof_probe_compr_trigger(struct snd_compr_stream *cstream, int cmd, |
| 25 | struct snd_soc_dai *dai); |
| 26 | int sof_probe_compr_pointer(struct snd_compr_stream *cstream, |
| 27 | struct snd_compr_tstamp *tstamp, struct snd_soc_dai *dai); |
| 28 | int sof_probe_compr_copy(struct snd_compr_stream *cstream, |
| 29 | char __user *buf, size_t count); |
| 30 | |
| 31 | #endif |