aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/mastering.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-06-05 18:54:17 -0700
committerChris Robinson <[email protected]>2019-06-05 18:54:17 -0700
commit410a5ca62129f03ba7cfc091fa63fc451cdfc24f (patch)
tree6f14211e49659360cae962653eb78a739ec9c9c6 /Alc/mastering.h
parent5f26205f8fb504c5f6fec3e2b02f0009a4f24be2 (diff)
Make RealMixParams channel count unsigned
Diffstat (limited to 'Alc/mastering.h')
-rw-r--r--Alc/mastering.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/Alc/mastering.h b/Alc/mastering.h
index 31d0ef97..1003fa6c 100644
--- a/Alc/mastering.h
+++ b/Alc/mastering.h
@@ -23,7 +23,7 @@ struct SlidingHold;
* http://c4dm.eecs.qmul.ac.uk/audioengineering/compressors/
*/
struct Compressor {
- ALsizei mNumChans{0};
+ ALuint mNumChans{0u};
ALuint mSampleRate{0u};
struct {
@@ -94,13 +94,11 @@ struct Compressor {
* ReleaseTimeMin - Release time (in seconds). Acts as a maximum when
* automating release time.
*/
-std::unique_ptr<Compressor> CompressorInit(const ALsizei NumChans, const ALuint SampleRate,
- const ALboolean AutoKnee, const ALboolean AutoAttack,
- const ALboolean AutoRelease, const ALboolean AutoPostGain,
- const ALboolean AutoDeclip, const ALfloat LookAheadTime,
- const ALfloat HoldTime, const ALfloat PreGainDb,
- const ALfloat PostGainDb, const ALfloat ThresholdDb,
- const ALfloat Ratio, const ALfloat KneeDb,
- const ALfloat AttackTime, const ALfloat ReleaseTime);
+std::unique_ptr<Compressor> CompressorInit(const ALuint NumChans, const ALuint SampleRate,
+ const ALboolean AutoKnee, const ALboolean AutoAttack, const ALboolean AutoRelease,
+ const ALboolean AutoPostGain, const ALboolean AutoDeclip, const ALfloat LookAheadTime,
+ const ALfloat HoldTime, const ALfloat PreGainDb, const ALfloat PostGainDb,
+ const ALfloat ThresholdDb, const ALfloat Ratio, const ALfloat KneeDb, const ALfloat AttackTime,
+ const ALfloat ReleaseTime);
#endif /* MASTERING_H */