audio: Rename SDL_GetAudioStreamBinding to SDL_GetAudioStreamDevice.

This commit is contained in:
Ryan C. Gordon committed 2023-08-27 16:54:30 -04:00
1 parent efd2023a72
commit 58c859f64d
11 files changed
+18 -18

No files matched your search

+1 -1
View File
@@ -88,7 +88,7 @@ static void iteration(void)
/* !!! FIXME: laziness, this used to loop the audio, but we'll just play it once for now on each connect. */
SDL_PutAudioStreamData(stream, sound, soundlen);
SDL_FlushAudioStream(stream);
SDL_ResumeAudioDevice(SDL_GetAudioStreamBinding(stream));
SDL_ResumeAudioDevice(SDL_GetAudioStreamDevice(stream));
/* !!! FIXME: this is leaking the stream for now. We'll wire it up to a dictionary or whatever later. */
}
}