Skip to content

Commit 7c00c41

Browse files
authored
Merge pull request #4123 from liuduanfei/master
Update audio.c
2 parents af72bec + 1f7a8e4 commit 7c00c41

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/drivers/audio/audio.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ static rt_err_t _audio_send_replay_frame(struct rt_audio_device *audio)
4444
position = audio->replay->pos;
4545
dst_size = buf_info->block_size;
4646

47-
/* check repaly queue is empty */
47+
/* check replay queue is empty */
4848
if (rt_data_queue_peak(&audio->replay->queue, (const void **)&data, &src_size) != RT_EOK)
4949
{
5050
/* ack stop event */
@@ -236,7 +236,7 @@ static rt_err_t _audio_dev_init(struct rt_device *dev)
236236
if (replay->mp == RT_NULL)
237237
{
238238
rt_free(replay);
239-
LOG_E("create memory pool for repaly failed");
239+
LOG_E("create memory pool for replay failed");
240240
return -RT_ENOMEM;
241241
}
242242

0 commit comments

Comments
 (0)