未验证 提交 1f7a8e46 编写于 作者: liuduanfei's avatar liuduanfei 提交者: GitHub

Update audio.c

修改注释错误 repaly ---> replay
上级 cc9374f0
......@@ -44,7 +44,7 @@ static rt_err_t _audio_send_replay_frame(struct rt_audio_device *audio)
position = audio->replay->pos;
dst_size = buf_info->block_size;
/* check repaly queue is empty */
/* check replay queue is empty */
if (rt_data_queue_peak(&audio->replay->queue, (const void **)&data, &src_size) != RT_EOK)
{
/* ack stop event */
......@@ -236,7 +236,7 @@ static rt_err_t _audio_dev_init(struct rt_device *dev)
if (replay->mp == RT_NULL)
{
rt_free(replay);
LOG_E("create memory pool for repaly failed");
LOG_E("create memory pool for replay failed");
return -RT_ENOMEM;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册