mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Fix incorrect documentation for retro_audio_sample_batch_t
(#16965)
retro_audio_sample_batch_t returns the number of processed frames, *not* samples. - See `audio_driver_sample_batch` in `audio_driver.h`
This commit is contained in:
parent
c87a88f456
commit
c0715fc420
@ -7426,7 +7426,7 @@ typedef void (RETRO_CALLCONV *retro_audio_sample_t)(int16_t left, int16_t right)
|
||||
* is defined as a sample of left and right channels, interleaved.
|
||||
* For example: <tt>int16_t buf[4] = { l, r, l, r };</tt> would be 2 frames.
|
||||
*
|
||||
* @return The number of samples that were processed.
|
||||
* @return The number of frames that were processed.
|
||||
*
|
||||
* @see retro_set_audio_sample_batch()
|
||||
* @see retro_set_audio_sample()
|
||||
|
Loading…
x
Reference in New Issue
Block a user