mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-21 17:21:44 +00:00
Sync SDL3 wiki -> header
This commit is contained in:
@@ -328,8 +328,8 @@ extern DECLSPEC char *SDLCALL SDL_GetAudioDeviceName(SDL_AudioDeviceID devid);
|
|||||||
* device.
|
* device.
|
||||||
*
|
*
|
||||||
* You can also use this to request the current device buffer size. This is
|
* You can also use this to request the current device buffer size. This is
|
||||||
* specified in sample frames and represents the amount of data SDL will
|
* specified in sample frames and represents the amount of data SDL will feed
|
||||||
* feed to the physical hardware in each chunk. This can be converted to
|
* to the physical hardware in each chunk. This can be converted to
|
||||||
* milliseconds of audio with the following equation:
|
* milliseconds of audio with the following equation:
|
||||||
*
|
*
|
||||||
* `ms = (int) ((((Sint64) frames) * 1000) / spec.freq);`
|
* `ms = (int) ((((Sint64) frames) * 1000) / spec.freq);`
|
||||||
|
Reference in New Issue
Block a user