diff options
Diffstat (limited to 'src/gaudio')
-rw-r--r-- | src/gaudio/driver_play.h | 2 | ||||
-rw-r--r-- | src/gaudio/sys_defs.h | 11 |
2 files changed, 9 insertions, 4 deletions
diff --git a/src/gaudio/driver_play.h b/src/gaudio/driver_play.h index d140c2c9..343a0fed 100644 --- a/src/gaudio/driver_play.h +++ b/src/gaudio/driver_play.h @@ -107,7 +107,7 @@ void gaudio_play_lld_stop(void); * @brief Set the output volume. * @return TRUE if successful. * - * @param[in] 0->255 (0 = muted) + * @param[in] vol 0->255 (0 = muted) * * @note Some drivers may not support this. They will return FALSE. * @note For stereo devices, both channels are set to the same volume. diff --git a/src/gaudio/sys_defs.h b/src/gaudio/sys_defs.h index 2bd0e2c8..7ee3bf40 100644 --- a/src/gaudio/sys_defs.h +++ b/src/gaudio/sys_defs.h @@ -161,7 +161,7 @@ extern "C" { * @brief Set the output volume. * @return TRUE if successful. * - * @param[in] 0->255 (0 = muted) + * @param[in] vol 0->255 (0 = muted) * * @note Some drivers may not support this. They will return FALSE. * @note For stereo devices, both channels are set to the same volume. @@ -193,7 +193,9 @@ extern "C" { * @brief Wait for any currently playing sounds to complete * @return TRUE if there is now nothing playing or FALSE if the timeout is exceeded * - * @params[in] ms The maximum amount of time in milliseconds to wait for playing to complete. + * @param[in] ms The maximum amount of time in milliseconds to wait for playing to complete. + * + * @return ToDo * * @api */ @@ -252,7 +254,7 @@ extern "C" { * @brief Get a filled audio buffer from the recording list * @return A GDataBuffer pointer or NULL if the timeout is exceeded * - * @params[in] ms The maximum amount of time in milliseconds to wait for data if some is not currently available. + * @param[in] ms The maximum amount of time in milliseconds to wait for data if some is not currently available. * * @note After processing the audio data, your application must return the buffer to the free-list so that * it can be used to record more audio into. This can be done via the play list using @p gaudioPlay() or @@ -261,6 +263,9 @@ extern "C" { * processing it before GADC re-uses it. This is useful when RAM usage is critical to reduce the number * of buffers required. It works before the free list is a FIFO queue and therefore buffers are kept * in the queue as long as possible before they are re-used. + * + * @return ToDo + * * @api */ GDataBuffer *gaudioRecordGetData(delaytime_t ms); |