Remove the now unneeded map
This commit is contained in:
parent
c8f865dd4a
commit
81882b9ecb
@ -18,7 +18,6 @@ StretchAudioSource::StretchAudioSource(int initialnumoutchans,
|
||||
for (int i = 0; i < enab_pars.size(); ++i)
|
||||
{
|
||||
m_specproc_order.emplace_back(i, enab_pars[i]);
|
||||
m_specprocmap[i] = i;
|
||||
}
|
||||
//m_specproc_order = { {0,false} , { 1, false} ,{2,true},{3,true},{4,true},{5,false},{6,true},{7,true},{8,false} };
|
||||
setNumOutChannels(initialnumoutchans);
|
||||
@ -74,9 +73,6 @@ std::vector<SpectrumProcess> StretchAudioSource::getSpectrumProcessOrder()
|
||||
void StretchAudioSource::setSpectrumProcessOrder(std::vector<SpectrumProcess> order)
|
||||
{
|
||||
ScopedLock locker(m_cs);
|
||||
m_specprocmap.clear();
|
||||
for (int i = 0; i < order.size(); ++i)
|
||||
m_specprocmap[i] = order[i].m_index;
|
||||
m_specproc_order = order;
|
||||
Logger::writeToLog("<**");
|
||||
for (auto& e : m_specproc_order)
|
||||
|
@ -143,7 +143,7 @@ private:
|
||||
std::vector<double> m_resampler_outbuf;
|
||||
CriticalSection m_cs;
|
||||
std::vector<SpectrumProcess> m_specproc_order;
|
||||
std::unordered_map<int, int> m_specprocmap;
|
||||
|
||||
bool m_stop_play_requested = false;
|
||||
double m_freeze_pos = 0.0;
|
||||
int64_t m_output_counter = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user