Skip to content

Commit

Permalink
SDL3: Assume devID is out-of-date on stream creation
Browse files Browse the repository at this point in the history
  • Loading branch information
flibitijibibo committed Apr 14, 2024
1 parent 360786b commit 92fd5a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FAudio_platform_sdl3.c
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ void FAudio_PlatformInit(
*platformDevice = result;

/* Start the thread! */
SDL_ResumeAudioDevice(devID);
SDL_ResumeAudioDevice(SDL_GetAudioStreamDevice(result->stream));
}

void FAudio_PlatformQuit(void* platformDevice)
Expand Down

0 comments on commit 92fd5a5

Please sign in to comment.