alstream.h changes for SDL3
This commit is contained in:
parent
e807343c26
commit
b63c3f2079
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue