Skip to content
Permalink
Browse files

Updated documentation, you don't need to initialize the audio subsyst…

…em to do in-place format conversion. (Thanks Simon Hug!)
  • Loading branch information
slouken committed Aug 29, 2017
1 parent abf8fc4 commit 629f8abab44b523a5dbb0deac0cc57a8d683fafd

File 1 of 1 in 629f8ab

@@ -451,7 +451,6 @@ extern DECLSPEC void SDLCALL SDL_FreeWAV(Uint8 * audio_buf);
* and rate, and initializes the \c cvt structure with information needed
* by SDL_ConvertAudio() to convert a buffer of audio data from one format
* to the other. An unsupported format causes an error and -1 will be returned.
* The audio subsystem must be initialized before calling this function.
*
* \return 0 if no conversion is needed, 1 if the audio filter is set up,
* or -1 on error.

0 comments on commit 629f8ab

Please sign in to comment.