Calculate disk sample read count. Increase disk read cache 4x.
This commit is contained in:
@ -65,6 +65,13 @@ bool StretchAudioSource::isResampling()
|
||||
return (int)m_outsr!=m_inputfile->info.samplerate;
|
||||
}
|
||||
|
||||
int64_t StretchAudioSource::getDiskReadSampleCount() const
|
||||
{
|
||||
if (m_inputfile == nullptr)
|
||||
return 0;
|
||||
return m_inputfile->getDiskReadSampleCount();
|
||||
}
|
||||
|
||||
std::vector<SpectrumProcess> StretchAudioSource::getSpectrumProcessOrder()
|
||||
{
|
||||
return m_specproc_order;
|
||||
|
Reference in New Issue
Block a user