ViPERBass: Fix compiler warning

This commit is contained in:
Iscle 2022-09-19 02:37:58 +02:00
parent 340908ba75
commit 849cc612c9
2 changed files with 1 additions and 2 deletions

View File

@ -109,7 +109,7 @@ void ViPERBass::SetBassFactor(float bassFactor) {
}
void ViPERBass::SetProcessMode(ProcessMode processMode) {
if (processMode < MAX_PROCESS_MODE && this->processMode != processMode) {
if (this->processMode != processMode) {
this->processMode = processMode;
this->Reset();
}

View File

@ -12,7 +12,6 @@ public:
NATURAL_BASS = 0,
PURE_BASS_PLUS = 1,
SUBWOOFER = 2,
MAX_PROCESS_MODE
};
ViPERBass();