diff options
| author | Bernard Xiong <[email protected]> | 2020-12-07 14:08:47 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-12-07 14:08:47 +0800 |
| commit | 7c00c41e55db56c4ffe34be7b0fdfa2626434e82 (patch) | |
| tree | cc5462f62cb2f1e8ac10ea1980502eb023fa81e4 /components | |
| parent | af72becc8cbd4a00a06240dda7900055fe041aa1 (diff) | |
| parent | 1f7a8e46a489724574ed0a51592318d6d00daa26 (diff) | |
Merge pull request #4123 from liuduanfei/master
Update audio.c
Diffstat (limited to 'components')
| -rw-r--r-- | components/drivers/audio/audio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/drivers/audio/audio.c b/components/drivers/audio/audio.c index 6614b75ff5..12b9b48a43 100644 --- a/components/drivers/audio/audio.c +++ b/components/drivers/audio/audio.c @@ -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; } |
