Fetch parameter value differently
This commit is contained in:
		@@ -842,7 +842,7 @@ void PaulstretchpluginAudioProcessor::timerCallback(int id)
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
	if (id == 1)
 | 
						if (id == 1)
 | 
				
			||||||
	{
 | 
						{
 | 
				
			||||||
		bool capture = getParameter(cpi_capture_enabled);
 | 
							bool capture = *getBoolParameter(cpi_capture_enabled);
 | 
				
			||||||
		if (capture == false && m_max_reclen != *getFloatParameter(cpi_max_capture_len))
 | 
							if (capture == false && m_max_reclen != *getFloatParameter(cpi_max_capture_len))
 | 
				
			||||||
		{
 | 
							{
 | 
				
			||||||
			m_max_reclen = *getFloatParameter(cpi_max_capture_len);
 | 
								m_max_reclen = *getFloatParameter(cpi_max_capture_len);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user