alstream.h changes for SDL3

This commit is contained in:
ZakatTeamI2P 2026-03-30 17:09:46 +04:00
parent e807343c26
commit b63c3f2079
1 changed files with 3 additions and 3 deletions

View File

@ -26,7 +26,7 @@
#include "sdl-util.h" #include "sdl-util.h"
#include <string> #include <string>
#include <SDL_rwops.h> #include <SDL3/SDL_rwops.h>
struct ALDataSource; struct ALDataSource;
@ -52,7 +52,7 @@ struct ALStream
std::string threadName; std::string threadName;
SDL_mutex *pauseMut; SDL_Mutex *pauseMut;
bool preemptPause; bool preemptPause;
/* When this flag isn't set and alSrc is /* When this flag isn't set and alSrc is
@ -74,7 +74,7 @@ struct ALStream
uint64_t procFrames; uint64_t procFrames;
AL::Buffer::ID lastBuf; AL::Buffer::ID lastBuf;
SDL_RWops srcOps; SDL_IOStream srcOps;
struct struct
{ {