You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** * @brief Send a replay frame to the audio hardware device * * This function handles sending audio data from the memory queue to the hardware buffer for playback. * If there is no data available in the queue, it sends zero frames. Otherwise, it copies data from the memory pool * to the hardware device FIFO and manages the read index and position accordingly. * * @param[in] * * Audio pointer to the audio device structure.This is a section of comments, which is very long * for showing effect of multilines comments. * * @return error code, RT_EOK is successful otherwise means failure * * @note * * This function may temporarily disable interrupts or perform time-consuming operations like memcpy, * which could affect system responsiveness */
分行并缩进保留*
/** * @brief Send a replay frame to the audio hardware device * * This function handles sending audio data from the memory queue to the hardware buffer for playback. * If there is no data available in the queue, it sends zero frames. Otherwise, it copies data from the memory pool * to the hardware device FIFO and manages the read index and position accordingly. * * @param[in] audio pointer to the audio device structure.This is a section of comments, which is very long * for showing effect of multilines comments. * * @return error code, RT_EOK is successful otherwise means failure * * @note This function may temporarily disable interrupts or perform time-consuming operations like memcpy, * which could affect system responsiveness */
不保留*
/** * @brief Send a replay frame to the audio hardware device * * This function handles sending audio data from the memory queue to the hardware buffer for playback. * If there is no data available in the queue, it sends zero frames. Otherwise, it copies data from the memory pool * to the hardware device FIFO and manages the read index and position accordingly. * * @param[in] audio pointer to the audio device structure.This is a section of comments, which is very long for showing effect of multilines comments. * * @return error code, RT_EOK is successful otherwise means failure * * @note This function may temporarily disable interrupts or perform time-consuming operations like memcpy, which could affect system responsiveness */
上面三种情况生成的网页效果均相同,差别只在源代码浏览上,这点是否需要统一起来?
Describe your preferred solution
No response
Describe possible alternatives
No response
The text was updated successfully, but these errors were encountered:
1078249029
changed the title
[Feature] temp
[Feature] doxygen的audio注释中剩余问题汇总
Mar 9, 2025
Describe problem solved by the proposed feature
目前在编写audio注释时遇到了如下问题
首先是源代码的问题
@BernardXiong
rt_audio_samplerate_to_speed
可能是个无用函数,在bsp内也没有使用到,这个函数是否应该删除?如果确实要删除的话,内部负责采样率的宏AUDIO_SAMP_RATE_xxK
是否也应删除?rt_audio_pipe_read的pos参数是无用的,
rt_audio_tx_complete并没有检查
_audio_send_replay_frame错误码,以及
_audio_dev_close永远返回
RT_EOK`之后是注释格式化的问题
@unicornx
类似@brief这种
分行并缩进保留*
不保留*
上面三种情况生成的网页效果均相同,差别只在源代码浏览上,这点是否需要统一起来?
Describe your preferred solution
No response
Describe possible alternatives
No response
The text was updated successfully, but these errors were encountered: