diff options
Diffstat (limited to 'alc/backends/base.cpp')
-rw-r--r-- | alc/backends/base.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/alc/backends/base.cpp b/alc/backends/base.cpp index 9d8d0c64..b33e0c6d 100644 --- a/alc/backends/base.cpp +++ b/alc/backends/base.cpp @@ -12,7 +12,7 @@ #include <mmreg.h> #endif -#include "AL/al.h" +#include "AL/alc.h" #include "alcmain.h" #include "alexcpt.h" @@ -25,17 +25,17 @@ bool BackendBase::reset() { throw al::backend_exception{ALC_INVALID_DEVICE, "Invalid BackendBase call"}; } -ALCenum BackendBase::captureSamples(al::byte*, ALCuint) -{ return ALC_INVALID_DEVICE; } +void BackendBase::captureSamples(al::byte*, uint) +{ } -ALCuint BackendBase::availableSamples() +uint BackendBase::availableSamples() { return 0; } ClockLatency BackendBase::getClockLatency() { ClockLatency ret; - ALuint refcount; + uint refcount; do { refcount = mDevice->waitForMix(); ret.ClockTime = GetDeviceClockTime(mDevice); @@ -179,12 +179,12 @@ void BackendBase::setChannelOrderFromWFXMask(ALuint chanmask) return al::nullopt; }; - const ALuint numchans{mDevice->channelsFromFmt()}; - ALuint idx{0}; + const uint numchans{mDevice->channelsFromFmt()}; + uint idx{0}; while(chanmask) { const int bit{CountTrailingZeros(chanmask)}; - const ALuint mask{1u << bit}; + const uint mask{1u << bit}; chanmask &= ~mask; if(auto label = get_channel(mask)) |