Increase thumbnailcache thread priority. Readme change.

This commit is contained in:
xenakios 2018-01-20 21:27:29 +02:00
parent f4aef4bcac
commit 99127c79bb
3 changed files with 4 additions and 5 deletions

View File

@ -352,8 +352,6 @@ WaveformComponent::WaveformComponent(AudioFormatManager* afm, AudioThumbnail* th
TimeSelectionChangedCallback = [](Range<double>, int) {};
if (m_use_opengl == true)
m_ogl.attachTo(*this);
// The default priority of 2 is a bit too low in some cases, it seems...
//m_thumbcache->getTimeSliceThread().setPriority(3);
m_thumbnail = thumb;
m_thumbnail->addChangeListener(this);
setOpaque(true);

View File

@ -96,7 +96,8 @@ PaulstretchpluginAudioProcessor::PaulstretchpluginAudioProcessor()
if (m_afm->getNumKnownFormats()==0)
m_afm->registerBasicFormats();
m_thumb = std::make_unique<AudioThumbnail>(512, *m_afm, *m_thumbcache);
//m_thumb->addChangeListener(this);
// The default priority of 2 is a bit too low in some cases, it seems...
m_thumbcache->getTimeSliceThread().setPriority(3);
m_stretch_source = std::make_unique<StretchAudioSource>(2, m_afm);

View File

@ -44,7 +44,7 @@ History :
provide the file name of the source of audio file, so audio clip/event/item specific audio won't be imported)
-Removed an unnecessary level of buffering (doesn't reduce latency but should help a bit with CPU usage)
-Added About window
01-17-2018 1.0.0 preview 5
-Restored ability to set capture buffer length
01-20-2018 1.0.0 preview 5
-Restored ability to set capture buffer length (via the settings menu)
-Seek to play range beginning when audio file imported
-Fixes to waveform display issues