diff options
author | Chris Robinson <[email protected]> | 2020-12-18 17:28:50 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-12-24 22:49:55 -0800 |
commit | 63ea62bea1604ad97066809596da258751b48114 (patch) | |
tree | 0e296e08c9bed11c1f5d6110fd1a02aeecc8bba8 /alc/backends/sdl2.cpp | |
parent | 8c4c14ea73297af6709ee45beea41eafaaeb5374 (diff) |
Avoid some more AL types
Diffstat (limited to 'alc/backends/sdl2.cpp')
-rw-r--r-- | alc/backends/sdl2.cpp | 8 |
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; |