Process main volume. Allow importing audio files directly. Tweaks etc
This commit is contained in:
@ -119,7 +119,7 @@ public:
|
||||
int getPrebufferThreadPriority() { return m_prebufthreadprior; }
|
||||
private:
|
||||
REALTYPE volume;
|
||||
int m_prebufthreadprior = 5;
|
||||
int m_prebufthreadprior = 4;
|
||||
int get_optimized_updown(int n,bool up);
|
||||
int optimizebufsize(int bufsize);
|
||||
std::string getfftsizestr(int fftsize);
|
||||
|
@ -141,7 +141,7 @@ void StretchAudioSource::getNextAudioBlock(const AudioSourceChannelInfo & buffer
|
||||
for (auto& e : m_stretchers)
|
||||
e->set_freezing(m_freezing);
|
||||
}
|
||||
double maingain = 0.5; // Decibels::decibelsToGain((double)val_MainVolume.getValue());
|
||||
double maingain = Decibels::decibelsToGain((double)val_MainVolume.getValue());
|
||||
if (m_vol_smoother.getTargetValue() != maingain)
|
||||
m_vol_smoother.setValue(maingain);
|
||||
FloatVectorOperations::disableDenormalisedNumberSupport();
|
||||
|
Reference in New Issue
Block a user