提交 2a635825 编写于 作者: V Vinod Koul 提交者: Mark Brown

ASoc: Intel: mfld-pcm: report pcm delay

Now the DSP is capable of reporting the delay, report it to upper layers
Signed-off-by: NVinod Koul <vinod.koul@intel.com>
Signed-off-by: NMark Brown <broonie@linaro.org>
上级 9daa5bd3
无相关合并请求
......@@ -409,6 +409,7 @@ static snd_pcm_uframes_t sst_platform_pcm_pointer
pr_err("sst: error code = %d\n", ret_val);
return ret_val;
}
substream->runtime->delay = str_info->pcm_delay;
return str_info->buffer_ptr;
}
......
......@@ -42,6 +42,7 @@ struct pcm_stream_info {
void *arg;
void (*period_elapsed) (void *arg);
unsigned long long buffer_ptr;
unsigned long long pcm_delay;
int sfreq;
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
新手
引导
客服 返回
顶部