mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-03-18 14:38:18 +00:00
Remove/Rename SDL_FreeWAV() to SDL_free()
This commit is contained in:
@@ -2124,11 +2124,3 @@ SDL_LoadWAV_RW(SDL_RWops *src, int freesrc, SDL_AudioSpec *spec, Uint8 **audio_b
|
||||
|
||||
return spec;
|
||||
}
|
||||
|
||||
/* Since the WAV memory is allocated in the shared library, it must also
|
||||
be freed here. (Necessary under Win32, VC++)
|
||||
*/
|
||||
void SDL_FreeWAV(Uint8 *audio_buf)
|
||||
{
|
||||
SDL_free(audio_buf);
|
||||
}
|
||||
|
||||
@@ -48,7 +48,6 @@ SDL3_0.0.0 {
|
||||
SDL_PauseAudio;
|
||||
SDL_PauseAudioDevice;
|
||||
SDL_LoadWAV_RW;
|
||||
SDL_FreeWAV;
|
||||
SDL_BuildAudioCVT;
|
||||
SDL_ConvertAudio;
|
||||
SDL_NewAudioStream;
|
||||
|
||||
@@ -82,7 +82,6 @@
|
||||
#define SDL_PauseAudio SDL_PauseAudio_REAL
|
||||
#define SDL_PauseAudioDevice SDL_PauseAudioDevice_REAL
|
||||
#define SDL_LoadWAV_RW SDL_LoadWAV_RW_REAL
|
||||
#define SDL_FreeWAV SDL_FreeWAV_REAL
|
||||
#define SDL_BuildAudioCVT SDL_BuildAudioCVT_REAL
|
||||
#define SDL_ConvertAudio SDL_ConvertAudio_REAL
|
||||
#define SDL_MixAudio SDL_MixAudio_REAL
|
||||
|
||||
@@ -109,7 +109,6 @@ SDL_DYNAPI_PROC(SDL_AudioStatus,SDL_GetAudioDeviceStatus,(SDL_AudioDeviceID a),(
|
||||
SDL_DYNAPI_PROC(void,SDL_PauseAudio,(int a),(a),)
|
||||
SDL_DYNAPI_PROC(void,SDL_PauseAudioDevice,(SDL_AudioDeviceID a, int b),(a,b),)
|
||||
SDL_DYNAPI_PROC(SDL_AudioSpec*,SDL_LoadWAV_RW,(SDL_RWops *a, int b, SDL_AudioSpec *c, Uint8 **d, Uint32 *e),(a,b,c,d,e),return)
|
||||
SDL_DYNAPI_PROC(void,SDL_FreeWAV,(Uint8 *a),(a),)
|
||||
SDL_DYNAPI_PROC(int,SDL_BuildAudioCVT,(SDL_AudioCVT *a, SDL_AudioFormat b, Uint8 c, int d, SDL_AudioFormat e, Uint8 f, int g),(a,b,c,d,e,f,g),return)
|
||||
SDL_DYNAPI_PROC(int,SDL_ConvertAudio,(SDL_AudioCVT *a),(a),return)
|
||||
SDL_DYNAPI_PROC(void,SDL_MixAudio,(Uint8 *a, const Uint8 *b, Uint32 c, int d),(a,b,c,d),)
|
||||
|
||||
Reference in New Issue
Block a user