mirror of
https://github.com/AndroidAudioMods/ViPERFX_RE.git
synced 2024-12-22 22:47:25 +08:00
ViPERBass: Fix compiler warning
This commit is contained in:
parent
340908ba75
commit
849cc612c9
@ -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();
|
||||
}
|
||||
|
@ -12,7 +12,6 @@ public:
|
||||
NATURAL_BASS = 0,
|
||||
PURE_BASS_PLUS = 1,
|
||||
SUBWOOFER = 2,
|
||||
MAX_PROCESS_MODE
|
||||
};
|
||||
|
||||
ViPERBass();
|
||||
|
Loading…
Reference in New Issue
Block a user