aboutsummaryrefslogtreecommitdiffstats
path: root/alc/backends
diff options
context:
space:
mode:
Diffstat (limited to 'alc/backends')
-rw-r--r--alc/backends/sdl2.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/alc/backends/sdl2.cpp b/alc/backends/sdl2.cpp
index fd695480..300f4934 100644
--- a/alc/backends/sdl2.cpp
+++ b/alc/backends/sdl2.cpp
@@ -62,12 +62,12 @@ struct Sdl2Backend final : public BackendBase {
void stop() override;
SDL_AudioDeviceID mDeviceID{0u};
- ALuint mFrameSize{0};
+ uint mFrameSize{0};
- ALuint mFrequency{0u};
+ uint mFrequency{0u};
DevFmtChannels mFmtChans{};
DevFmtType mFmtType{};
- ALuint mUpdateSize{0u};
+ uint mUpdateSize{0u};
DEF_NEWDEL(Sdl2Backend)
};
@@ -125,7 +125,7 @@ void Sdl2Backend::open(const char *name)
if(mDeviceID == 0)
throw al::backend_exception{al::backend_error::NoDevice, "%s", SDL_GetError()};
- mDevice->Frequency = static_cast<ALuint>(have.freq);
+ mDevice->Frequency = static_cast<uint>(have.freq);
if(have.channels == 1)
mDevice->FmtChans = DevFmtMono;