audio: Rename SDL_GetAudioStreamBinding to SDL_GetAudioStreamDevice.

This commit is contained in:
Ryan C. Gordon 2023-08-27 16:34:26 -04:00
parent efd2023a72
commit 58c859f64d
11 changed files with 18 additions and 18 deletions

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. */
}
}