Skip to content

Commit

Permalink
Method to determine whether model has loudness data (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
pawelKapl authored Apr 14, 2023
1 parent aa777b5 commit 2682287
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions NAM/dsp.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ class DSP
// DSP subclass implementation.
virtual void finalize_(const int num_frames);
void SetNormalize(const bool normalize) { this->mNormalizeOutputLoudness = normalize; };
bool HasLoudness() { return mLoudness != TARGET_DSP_LOUDNESS; };

protected:
// How loud is the model?
Expand Down

0 comments on commit 2682287

Please sign in to comment.