Sync SDL3 wiki -> header
This commit is contained in:
parent
2b6cb7bfb2
commit
9786d8ac40
1 changed files with 8 additions and 9 deletions
|
@ -1224,16 +1224,15 @@ extern DECLSPEC void SDLCALL SDL_CloseAudioDevice(SDL_AudioDeviceID dev);
|
||||||
/**
|
/**
|
||||||
* Convert some audio data of one format to another format.
|
* Convert some audio data of one format to another format.
|
||||||
*
|
*
|
||||||
* Please note that this function is for convenience, but should not
|
* Please note that this function is for convenience, but should not be used
|
||||||
* be used to resample audio in blocks, as it will introduce audio
|
* to resample audio in blocks, as it will introduce audio artifacts on the
|
||||||
* artifacts on the boundaries. You should only use this function if
|
* boundaries. You should only use this function if you are converting audio
|
||||||
* you are converting audio data in its entirety in one call. If you
|
* data in its entirety in one call. If you want to convert audio in smaller
|
||||||
* want to convert audio in smaller chunks, use an SDL_AudioStream,
|
* chunks, use an SDL_AudioStream, which is designed for this situation.
|
||||||
* which is designed for this situation.
|
|
||||||
*
|
*
|
||||||
* Internally, this function creates and destroys an SDL_AudioStream
|
* Internally, this function creates and destroys an SDL_AudioStream on each
|
||||||
* on each use, so it's also less efficient than using one directly,
|
* use, so it's also less efficient than using one directly, if you need to
|
||||||
* if you need to convert multiple times.
|
* convert multiple times.
|
||||||
*
|
*
|
||||||
* \param src_format The format of the source audio
|
* \param src_format The format of the source audio
|
||||||
* \param src_channels The number of channels of the source audio
|
* \param src_channels The number of channels of the source audio
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue