aboutsummaryrefslogtreecommitdiffstats
path: root/alc/alcmain.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-08-25 15:36:40 -0700
committerChris Robinson <[email protected]>2019-08-25 15:36:40 -0700
commit88a8bf903b08cd93ea7028a4c726f39e4cde7c79 (patch)
treeb24161d1c89d9335262787a8b0c7c930f2976c0e /alc/alcmain.h
parente165cae3cddec51332660bdb1e69d7fa5f687e68 (diff)
Use size_t for the post-process sample length
Diffstat (limited to 'alc/alcmain.h')
-rw-r--r--alc/alcmain.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/alc/alcmain.h b/alc/alcmain.h
index 910e3279..6b6a8de3 100644
--- a/alc/alcmain.h
+++ b/alc/alcmain.h
@@ -303,7 +303,7 @@ struct ALCdevice : public al::intrusive_ref<ALCdevice> {
/* Stereo-to-binaural filter */
std::unique_ptr<bs2b> Bs2b;
- using PostProc = void(ALCdevice::*)(const ALsizei SamplesToDo);
+ using PostProc = void(ALCdevice::*)(const size_t SamplesToDo);
PostProc PostProcess{nullptr};
std::unique_ptr<FrontStablizer> Stablizer;
@@ -344,12 +344,12 @@ struct ALCdevice : public al::intrusive_ref<ALCdevice> {
ALsizei channelsFromFmt() const noexcept { return ChannelsFromDevFmt(FmtChans, mAmbiOrder); }
ALsizei frameSizeFromFmt() const noexcept { return bytesFromFmt() * channelsFromFmt(); }
- void ProcessHrtf(const ALsizei SamplesToDo);
- void ProcessAmbiDec(const ALsizei SamplesToDo);
- void ProcessUhj(const ALsizei SamplesToDo);
- void ProcessBs2b(const ALsizei SamplesToDo);
+ void ProcessHrtf(const size_t SamplesToDo);
+ void ProcessAmbiDec(const size_t SamplesToDo);
+ void ProcessUhj(const size_t SamplesToDo);
+ void ProcessBs2b(const size_t SamplesToDo);
- inline void postProcess(const ALsizei SamplesToDo)
+ inline void postProcess(const size_t SamplesToDo)
{ if LIKELY(PostProcess) (this->*PostProcess)(SamplesToDo); }
DEF_NEWDEL(ALCdevice)