audio: Added SDL_PutAudioStreamDataNoCopy.

This commit is contained in:
Ryan C. Gordon
2025-05-24 22:52:22 -04:00
parent 25db127450
commit 5e50d39b38
6 changed files with 104 additions and 8 deletions

View File

@@ -25,7 +25,7 @@
// Internal functions used by SDL_AudioStream for queueing audio.
typedef void (SDLCALL *SDL_ReleaseAudioBufferCallback)(void *userdata, const void *buffer, int buflen);
typedef SDL_AudioStreamDataCompleteCallback SDL_ReleaseAudioBufferCallback;
typedef struct SDL_AudioQueue SDL_AudioQueue;
typedef struct SDL_AudioTrack SDL_AudioTrack;