Increase thumbnailcache thread priority. Readme change.
This commit is contained in:
		| @@ -352,8 +352,6 @@ WaveformComponent::WaveformComponent(AudioFormatManager* afm, AudioThumbnail* th | |||||||
| 	TimeSelectionChangedCallback = [](Range<double>, int) {}; | 	TimeSelectionChangedCallback = [](Range<double>, int) {}; | ||||||
| 	if (m_use_opengl == true) | 	if (m_use_opengl == true) | ||||||
| 		m_ogl.attachTo(*this); | 		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 = thumb; | ||||||
| 	m_thumbnail->addChangeListener(this); | 	m_thumbnail->addChangeListener(this); | ||||||
| 	setOpaque(true); | 	setOpaque(true); | ||||||
|   | |||||||
| @@ -96,7 +96,8 @@ PaulstretchpluginAudioProcessor::PaulstretchpluginAudioProcessor() | |||||||
| 	if (m_afm->getNumKnownFormats()==0) | 	if (m_afm->getNumKnownFormats()==0) | ||||||
| 		m_afm->registerBasicFormats(); | 		m_afm->registerBasicFormats(); | ||||||
| 	m_thumb = std::make_unique<AudioThumbnail>(512, *m_afm, *m_thumbcache); | 	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); | 	m_stretch_source = std::make_unique<StretchAudioSource>(2, m_afm); | ||||||
| 	 | 	 | ||||||
| 	 | 	 | ||||||
|   | |||||||
| @@ -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) | 	 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) | 	-Removed an unnecessary level of buffering (doesn't reduce latency but should help a bit with CPU usage) | ||||||
| 	-Added About window | 	-Added About window | ||||||
| 01-17-2018 1.0.0 preview 5 | 01-20-2018 1.0.0 preview 5 | ||||||
| 	-Restored ability to set capture buffer length | 	-Restored ability to set capture buffer length (via the settings menu) | ||||||
| 	-Seek to play range beginning when audio file imported | 	-Seek to play range beginning when audio file imported | ||||||
| 	-Fixes to waveform display issues | 	-Fixes to waveform display issues | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 xenakios
					xenakios