.. | .. |
---|
10 | 10 | #define _MTK_AFE_PLATFORM_DRIVER_H_ |
---|
11 | 11 | |
---|
12 | 12 | #define AFE_PCM_NAME "mtk-afe-pcm" |
---|
13 | | -extern const struct snd_pcm_ops mtk_afe_pcm_ops; |
---|
14 | 13 | extern const struct snd_soc_component_driver mtk_afe_pcm_platform; |
---|
15 | 14 | |
---|
16 | 15 | struct mtk_base_afe; |
---|
.. | .. |
---|
18 | 17 | struct snd_soc_component; |
---|
19 | 18 | struct snd_soc_pcm_runtime; |
---|
20 | 19 | |
---|
21 | | - |
---|
22 | | -int mtk_afe_pcm_new(struct snd_soc_pcm_runtime *rtd); |
---|
23 | | -void mtk_afe_pcm_free(struct snd_pcm *pcm); |
---|
| 20 | +snd_pcm_uframes_t mtk_afe_pcm_pointer(struct snd_soc_component *component, |
---|
| 21 | + struct snd_pcm_substream *substream); |
---|
| 22 | +int mtk_afe_pcm_new(struct snd_soc_component *component, |
---|
| 23 | + struct snd_soc_pcm_runtime *rtd); |
---|
24 | 24 | |
---|
25 | 25 | int mtk_afe_combine_sub_dai(struct mtk_base_afe *afe); |
---|
26 | 26 | int mtk_afe_add_sub_dai_control(struct snd_soc_component *component); |
---|