mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-19 04:28:58 +00:00
Added SDL_GetAudioFormatName()
Fixes https://github.com/libsdl-org/SDL/issues/10489
This commit is contained in:
parent
74504e0965
commit
4cc3410dce
6 changed files with 98 additions and 0 deletions
|
|
@ -167,6 +167,7 @@ SDL3_0.0.0 {
|
|||
SDL_GetAudioDeviceGain;
|
||||
SDL_GetAudioDeviceName;
|
||||
SDL_GetAudioDriver;
|
||||
SDL_GetAudioFormatName;
|
||||
SDL_GetAudioPlaybackDevices;
|
||||
SDL_GetAudioRecordingDevices;
|
||||
SDL_GetAudioStreamAvailable;
|
||||
|
|
|
|||
|
|
@ -192,6 +192,7 @@
|
|||
#define SDL_GetAudioDeviceGain SDL_GetAudioDeviceGain_REAL
|
||||
#define SDL_GetAudioDeviceName SDL_GetAudioDeviceName_REAL
|
||||
#define SDL_GetAudioDriver SDL_GetAudioDriver_REAL
|
||||
#define SDL_GetAudioFormatName SDL_GetAudioFormatName_REAL
|
||||
#define SDL_GetAudioPlaybackDevices SDL_GetAudioPlaybackDevices_REAL
|
||||
#define SDL_GetAudioRecordingDevices SDL_GetAudioRecordingDevices_REAL
|
||||
#define SDL_GetAudioStreamAvailable SDL_GetAudioStreamAvailable_REAL
|
||||
|
|
|
|||
|
|
@ -212,6 +212,7 @@ SDL_DYNAPI_PROC(int,SDL_GetAudioDeviceFormat,(SDL_AudioDeviceID a, SDL_AudioSpec
|
|||
SDL_DYNAPI_PROC(float,SDL_GetAudioDeviceGain,(SDL_AudioDeviceID a),(a),return)
|
||||
SDL_DYNAPI_PROC(const char*,SDL_GetAudioDeviceName,(SDL_AudioDeviceID a),(a),return)
|
||||
SDL_DYNAPI_PROC(const char*,SDL_GetAudioDriver,(int a),(a),return)
|
||||
SDL_DYNAPI_PROC(const char*,SDL_GetAudioFormatName,(SDL_AudioFormat a),(a),return)
|
||||
SDL_DYNAPI_PROC(SDL_AudioDeviceID*,SDL_GetAudioPlaybackDevices,(int *a),(a),return)
|
||||
SDL_DYNAPI_PROC(SDL_AudioDeviceID*,SDL_GetAudioRecordingDevices,(int *a),(a),return)
|
||||
SDL_DYNAPI_PROC(int,SDL_GetAudioStreamAvailable,(SDL_AudioStream *a),(a),return)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue