mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-06 02:24:14 +08:00
e149ca29f3
Remove the ambiguity with GPL-2.0 and use an explicit GPL-2.0-only tag. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com> Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com> Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com> Link: https://lore.kernel.org/r/20200501145850.15178-1-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
33 lines
1.1 KiB
C
33 lines
1.1 KiB
C
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */
|
|
/*
|
|
* This file is provided under a dual BSD/GPLv2 license. When using or
|
|
* redistributing this file, you may do so under either license.
|
|
*
|
|
* Copyright(c) 2019-2020 Intel Corporation. All rights reserved.
|
|
*
|
|
* Author: Cezary Rojewski <cezary.rojewski@intel.com>
|
|
*/
|
|
|
|
#ifndef __SOF_COMPRESS_H
|
|
#define __SOF_COMPRESS_H
|
|
|
|
#include <sound/compress_driver.h>
|
|
|
|
extern struct snd_compress_ops sof_probe_compressed_ops;
|
|
|
|
int sof_probe_compr_open(struct snd_compr_stream *cstream,
|
|
struct snd_soc_dai *dai);
|
|
int sof_probe_compr_free(struct snd_compr_stream *cstream,
|
|
struct snd_soc_dai *dai);
|
|
int sof_probe_compr_set_params(struct snd_compr_stream *cstream,
|
|
struct snd_compr_params *params, struct snd_soc_dai *dai);
|
|
int sof_probe_compr_trigger(struct snd_compr_stream *cstream, int cmd,
|
|
struct snd_soc_dai *dai);
|
|
int sof_probe_compr_pointer(struct snd_compr_stream *cstream,
|
|
struct snd_compr_tstamp *tstamp, struct snd_soc_dai *dai);
|
|
int sof_probe_compr_copy(struct snd_soc_component *component,
|
|
struct snd_compr_stream *cstream,
|
|
char __user *buf, size_t count);
|
|
|
|
#endif
|