diff options
author | Chris Robinson <[email protected]> | 2020-12-03 23:26:07 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-12-04 11:15:50 -0800 |
commit | aa05feec4a1d77eb37043aa93fc3237f70dc12ef (patch) | |
tree | ecee1464289c3c5b8eccd4424453f19706fa2029 /alc/voice.cpp | |
parent | b1c2671e9dfa68c03bec124f2ead59246caf7672 (diff) |
Avoid a global MAX_PITCH macro
Diffstat (limited to 'alc/voice.cpp')
-rw-r--r-- | alc/voice.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/alc/voice.cpp b/alc/voice.cpp index a1f49d6b..54775a72 100644 --- a/alc/voice.cpp +++ b/alc/voice.cpp @@ -71,11 +71,6 @@ struct NEONTag; struct CopyTag; -static_assert((BufferLineSize-1)/MAX_PITCH > 0, "MAX_PITCH is too large for BufferLineSize!"); -static_assert((INT_MAX>>MixerFracBits)/MAX_PITCH > BufferLineSize, - "MAX_PITCH and/or BufferLineSize are too large for MixerFracBits!"); - - Resampler ResamplerDefault{Resampler::Linear}; MixerFunc MixSamples{Mix_<CTag>}; |