Info labal justification change. Show prebuffered amount multiplied.
This commit is contained in:
		| @@ -40,6 +40,8 @@ PaulstretchpluginAudioProcessorEditor::PaulstretchpluginAudioProcessorEditor (Pa | |||||||
| 	attachCallback(m_settings_button, [this]() { showSettingsMenu(); }); | 	attachCallback(m_settings_button, [this]() { showSettingsMenu(); }); | ||||||
|  |  | ||||||
| 	addAndMakeVisible(&m_info_label); | 	addAndMakeVisible(&m_info_label); | ||||||
|  | 	m_info_label.setJustificationType(Justification::centredRight); | ||||||
|  |  | ||||||
| 	addAndMakeVisible(&m_wavecomponent); | 	addAndMakeVisible(&m_wavecomponent); | ||||||
| 	const auto& pars = processor.getParameters(); | 	const auto& pars = processor.getParameters(); | ||||||
| 	for (int i=0;i<pars.size();++i) | 	for (int i=0;i<pars.size();++i) | ||||||
| @@ -191,7 +193,7 @@ void PaulstretchpluginAudioProcessorEditor::timerCallback(int id) | |||||||
| 			m_wavecomponent.setRecordingPosition(processor.getRecordingPositionPercent()); | 			m_wavecomponent.setRecordingPosition(processor.getRecordingPositionPercent()); | ||||||
| 		} else | 		} else | ||||||
| 			m_wavecomponent.setRecordingPosition(-1.0); | 			m_wavecomponent.setRecordingPosition(-1.0); | ||||||
| 		String infotext = String(processor.getPreBufferingPercent(), 1) + "% buffered "  | 		String infotext = String(processor.getPreBufferingPercent()*100.0, 1) + "% buffered "  | ||||||
| 			+ String(processor.getStretchSource()->m_param_change_count)+" param changes "+m_last_err+" FFT size "+ | 			+ String(processor.getStretchSource()->m_param_change_count)+" param changes "+m_last_err+" FFT size "+ | ||||||
| 			String(processor.getStretchSource()->getFFTSize()); | 			String(processor.getStretchSource()->getFFTSize()); | ||||||
| 		if (processor.m_abnormal_output_samples > 0) | 		if (processor.m_abnormal_output_samples > 0) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 xenakios
					xenakios