diff options
Diffstat (limited to 'alc/backends/base.h')
-rw-r--r-- | alc/backends/base.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/alc/backends/base.h b/alc/backends/base.h index 2b89e893..99e2f12b 100644 --- a/alc/backends/base.h +++ b/alc/backends/base.h @@ -6,13 +6,13 @@ #include <mutex> #include <string> -#include "AL/alc.h" - #include "albyte.h" #include "alcmain.h" #include "alexcpt.h" +using uint = unsigned int; + struct ClockLatency { std::chrono::nanoseconds ClockTime; std::chrono::nanoseconds Latency; @@ -25,8 +25,8 @@ struct BackendBase { virtual void start() = 0; virtual void stop() = 0; - virtual ALCenum captureSamples(al::byte *buffer, ALCuint samples); - virtual ALCuint availableSamples(); + virtual void captureSamples(al::byte *buffer, uint samples); + virtual uint availableSamples(); virtual ClockLatency getClockLatency(); |