From 63ea62bea1604ad97066809596da258751b48114 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 18 Dec 2020 17:28:50 -0800 Subject: Avoid some more AL types --- alc/backends/sdl2.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'alc/backends/sdl2.cpp') 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(have.freq); + mDevice->Frequency = static_cast(have.freq); if(have.channels == 1) mDevice->FmtChans = DevFmtMono; -- cgit v1.2.3