We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents af72bec + 1f7a8e4 commit 7c00c41Copy full SHA for 7c00c41
components/drivers/audio/audio.c
@@ -44,7 +44,7 @@ static rt_err_t _audio_send_replay_frame(struct rt_audio_device *audio)
44
position = audio->replay->pos;
45
dst_size = buf_info->block_size;
46
47
- /* check repaly queue is empty */
+ /* check replay queue is empty */
48
if (rt_data_queue_peak(&audio->replay->queue, (const void **)&data, &src_size) != RT_EOK)
49
{
50
/* ack stop event */
@@ -236,7 +236,7 @@ static rt_err_t _audio_dev_init(struct rt_device *dev)
236
if (replay->mp == RT_NULL)
237
238
rt_free(replay);
239
- LOG_E("create memory pool for repaly failed");
+ LOG_E("create memory pool for replay failed");
240
return -RT_ENOMEM;
241
}
242
0 commit comments