First original Juce project

I am a total newb with only an hour or two of Juce youtube videos under my belt. I was hoping to create recording status plugin.

I can get the results I want by manually putting in the Boolean values. But I don’t know how to do the calls to have it done continually so that the status is always up to date.

From what I could gather looking at the reference material, I could tell it had to do with Audio BlockProcess and AudioPlayHead::getCurrentPosition() but I don’'t understand the syntax enough to know how to put it all together.

#include "PluginProcessor.h"
#include "PluginEditor.h"

//==============================================================================
_4tallentAudioProcessorEditor::_4tallentAudioProcessorEditor (_4tallentAudioProcessor& p)
	: AudioProcessorEditor (&p), processor (p)
{
	// Make sure that before the constructor has finished, you've set the
	// editor's size to whatever you need it to be.
	setSize (800, 300);
}

_4tallentAudioProcessorEditor::~_4tallentAudioProcessorEditor()
{

}

//==============================================================================
void _4tallentAudioProcessorEditor::paint (Graphics& g)
{
	g.fillAll(getLookAndFeel().findColour(ResizableWindow::backgroundColourId));
	AudioPlayHead::getCurrentPosition();
	bool isRecordingCheck = AudioPlayHead::CurrentPositionInfo::isRecording;
	bool isPlayingCheck = AudioPlayHead::CurrentPositionInfo::isPlaying;

	std::string notPlaying = " ";
	std::string isPlaying = "playback";
	std::string isRecording = "RECORDING";
	std::string theStatus = "";

	if (isRecordingCheck)
	{
		g.setColour(Colours::red);
		theStatus = isRecording;
	}
	else
	{
		if (isPlayingCheck)
		{
			theStatus = isPlaying;
			g.setColour(Colours::lightgrey);
		}
		else
		{
			theStatus = notPlaying;
		}
	}




	// (Our component is opaque, so we must completely fill the background with a solid colour)
	

	
	g.setFont (132.0f);
	g.drawFittedText (theStatus, getLocalBounds(), Justification::centred, 1);
}

void _4tallentAudioProcessorEditor::resized()
{
	// This is generally where you'll want to lay out the positions of any
	// subcomponents in your editor..
}

A plugin for showing the host playback status :

Obviously it will not work in every host, as all of them don’t provide the relevant playback status information.

Thank you Xenakios.

Warning and error from my build. I have no add-ons. Using Visual Studio 19. May need to go back to 17.


Severity	Code	Description	Project	File	Line	Suppression State
Warning	C26451	Arithmetic overflow: Using operator '*' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '*' to avoid overflow (io.2).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_audio_basics\buffers\juce_audiodataconverters.h	164	
Warning	C26451	Arithmetic overflow: Using operator '*' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '*' to avoid overflow (io.2).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_audio_basics\buffers\juce_audiodataconverters.h	179	
Warning	C26451	Arithmetic overflow: Using operator '*' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '*' to avoid overflow (io.2).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_audio_basics\buffers\juce_audiodataconverters.h	189	
Warning	C26451	Arithmetic overflow: Using operator '*' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '*' to avoid overflow (io.2).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_audio_basics\buffers\juce_audiodataconverters.h	214	
Warning	C26451	Arithmetic overflow: Using operator '*' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '*' to avoid overflow (io.2).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_audio_basics\buffers\juce_audiodataconverters.h	267	
Warning	C26451	Arithmetic overflow: Using operator '-' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '-' to avoid overflow (io.2).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_audio_basics\utilities\juce_adsr.h	214	
Warning	C26495	Variable 'juce::Reverb::gain' is uninitialized. Always initialize a member variable (type.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_audio_basics\utilities\juce_reverb.h	42	
Warning	C26439	This kind of function may not throw. Declare it 'noexcept' (f.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_core\memory\juce_referencecountedobject.h	195	
Warning	C26439	This kind of function may not throw. Declare it 'noexcept' (f.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_core\memory\juce_referencecountedobject.h	199	
Warning	C26451	Arithmetic overflow: Using operator '+' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '+' to avoid overflow (io.2).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_core\text\juce_charpointer_utf16.h	242	
Warning	C26451	Arithmetic overflow: Using operator '*' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '*' to avoid overflow (io.2).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\geometry\juce_line.h	232	
Warning	C26451	Arithmetic overflow: Using operator '-' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '-' to avoid overflow (io.2).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\geometry\juce_line.h	232	
Warning	C26451	Arithmetic overflow: Using operator '*' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '*' to avoid overflow (io.2).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\geometry\juce_line.h	233	
Warning	C26451	Arithmetic overflow: Using operator '+' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '+' to avoid overflow (io.2).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\geometry\juce_line.h	233	
Warning	C26451	Arithmetic overflow: Using operator '*' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '*' to avoid overflow (io.2).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\images\juce_image.h	329	
Warning	C26451	Arithmetic overflow: Using operator '*' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '*' to avoid overflow (io.2).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\images\juce_image.h	335	
Warning	C26451	Arithmetic overflow: Using operator '*' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '*' to avoid overflow (io.2).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\images\juce_image.h	335	
Warning	C26495	Variable 'juce::RenderingHelpers::GradientPixelIterators::Linear::grad' is uninitialized. Always initialize a member variable (type.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	412	
Warning	C26495	Variable 'juce::RenderingHelpers::GradientPixelIterators::Linear::linePix' is uninitialized. Always initialize a member variable (type.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	412	
Warning	C26495	Variable 'juce::RenderingHelpers::GradientPixelIterators::Linear::start' is uninitialized. Always initialize a member variable (type.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	412	
Warning	C26495	Variable 'juce::RenderingHelpers::GradientPixelIterators::Linear::yTerm' is uninitialized. Always initialize a member variable (type.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	412	
Warning	C6297	Arithmetic overflow:  32-bit value is shifted, then cast to 64-bit value.  Results might not be an expected value.	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	437	
Warning	C26451	Arithmetic overflow: Using operator '<<' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '<<' to avoid overflow (io.2).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	437	
Warning	C26451	Arithmetic overflow: Using operator '-' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '-' to avoid overflow (io.2).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	437	
Warning	C6297	Arithmetic overflow:  32-bit value is shifted, then cast to 64-bit value.  Results might not be an expected value.	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	442	
Warning	C26451	Arithmetic overflow: Using operator '<<' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '<<' to avoid overflow (io.2).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	442	
Warning	C26451	Arithmetic overflow: Using operator '-' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '-' to avoid overflow (io.2).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	442	
Warning	C26451	Arithmetic overflow: Using operator '-' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '-' to avoid overflow (io.2).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	447	
Warning	C26451	Arithmetic overflow: Using operator '-' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '-' to avoid overflow (io.2).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	447	
Warning	C6297	Arithmetic overflow:  32-bit value is shifted, then cast to 64-bit value.  Results might not be an expected value.	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	449	
Warning	C26451	Arithmetic overflow: Using operator '<<' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '<<' to avoid overflow (io.2).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	449	
Warning	C26495	Variable 'juce::RenderingHelpers::GradientPixelIterators::Radial::dy' is uninitialized. Always initialize a member variable (type.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	483	
Warning	C26451	Arithmetic overflow: Using operator '*' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '*' to avoid overflow (io.2).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	492	
Warning	C26451	Arithmetic overflow: Using operator '+' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '+' to avoid overflow (io.2).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	492	
Warning	C26495	Variable 'juce::RenderingHelpers::GradientPixelIterators::TransformedRadial::lineYM01' is uninitialized. Always initialize a member variable (type.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	524	
Warning	C26495	Variable 'juce::RenderingHelpers::GradientPixelIterators::TransformedRadial::lineYM11' is uninitialized. Always initialize a member variable (type.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	524	
Warning	C26451	Arithmetic overflow: Using operator '*' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '*' to avoid overflow (io.2).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	536	
Warning	C26451	Arithmetic overflow: Using operator '+' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '+' to avoid overflow (io.2).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	536	
Warning	C26451	Arithmetic overflow: Using operator '*' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '*' to avoid overflow (io.2).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	537	
Warning	C26451	Arithmetic overflow: Using operator '+' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '+' to avoid overflow (io.2).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	537	
Warning	C26495	Variable 'juce::RenderingHelpers::EdgeTableFillers::SolidColour<juce::PixelARGB,0>::filler' is uninitialized. Always initialize a member variable (type.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	576	
Warning	C26495	Variable 'juce::RenderingHelpers::EdgeTableFillers::SolidColour<juce::PixelARGB,0>::linePixels' is uninitialized. Always initialize a member variable (type.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	576	
Warning	C26495	Variable 'juce::RenderingHelpers::EdgeTableFillers::SolidColour<juce::PixelARGB,1>::filler' is uninitialized. Always initialize a member variable (type.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	576	
Warning	C26495	Variable 'juce::RenderingHelpers::EdgeTableFillers::SolidColour<juce::PixelARGB,1>::linePixels' is uninitialized. Always initialize a member variable (type.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	576	
Warning	C26495	Variable 'juce::RenderingHelpers::EdgeTableFillers::SolidColour<juce::PixelAlpha,0>::filler' is uninitialized. Always initialize a member variable (type.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	576	
Warning	C26495	Variable 'juce::RenderingHelpers::EdgeTableFillers::SolidColour<juce::PixelAlpha,0>::linePixels' is uninitialized. Always initialize a member variable (type.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	576	
Warning	C26495	Variable 'juce::RenderingHelpers::EdgeTableFillers::SolidColour<juce::PixelAlpha,1>::filler' is uninitialized. Always initialize a member variable (type.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	576	
Warning	C26495	Variable 'juce::RenderingHelpers::EdgeTableFillers::SolidColour<juce::PixelAlpha,1>::linePixels' is uninitialized. Always initialize a member variable (type.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	576	
Warning	C26495	Variable 'juce::RenderingHelpers::EdgeTableFillers::SolidColour<juce::PixelRGB,0>::filler' is uninitialized. Always initialize a member variable (type.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	576	
Warning	C26495	Variable 'juce::RenderingHelpers::EdgeTableFillers::SolidColour<juce::PixelRGB,0>::linePixels' is uninitialized. Always initialize a member variable (type.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	576	
Warning	C26495	Variable 'juce::RenderingHelpers::EdgeTableFillers::SolidColour<juce::PixelRGB,1>::filler' is uninitialized. Always initialize a member variable (type.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	576	
Warning	C26495	Variable 'juce::RenderingHelpers::EdgeTableFillers::SolidColour<juce::PixelRGB,1>::linePixels' is uninitialized. Always initialize a member variable (type.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	576	
Warning	C26495	Variable 'juce::RenderingHelpers::EdgeTableFillers::Gradient<juce::PixelRGB,juce::RenderingHelpers::GradientPixelIterators::TransformedRadial>::linePixels' is uninitialized. Always initialize a member variable (type.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	752	
Warning	C26495	Variable 'juce::RenderingHelpers::EdgeTableFillers::ImageFill<juce::PixelARGB,juce::PixelARGB,0>::linePixels' is uninitialized. Always initialize a member variable (type.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	826	
Warning	C26495	Variable 'juce::RenderingHelpers::EdgeTableFillers::ImageFill<juce::PixelARGB,juce::PixelARGB,0>::sourceLineStart' is uninitialized. Always initialize a member variable (type.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	826	
Warning	C26495	Variable 'juce::RenderingHelpers::EdgeTableFillers::ImageFill<juce::PixelARGB,juce::PixelARGB,1>::linePixels' is uninitialized. Always initialize a member variable (type.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	826	
Warning	C26495	Variable 'juce::RenderingHelpers::EdgeTableFillers::ImageFill<juce::PixelARGB,juce::PixelARGB,1>::sourceLineStart' is uninitialized. Always initialize a member variable (type.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	826	
Warning	C26495	Variable 'juce::RenderingHelpers::EdgeTableFillers::ImageFill<juce::PixelARGB,juce::PixelAlpha,0>::linePixels' is uninitialized. Always initialize a member variable (type.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	826	
Warning	C26495	Variable 'juce::RenderingHelpers::EdgeTableFillers::ImageFill<juce::PixelARGB,juce::PixelAlpha,0>::sourceLineStart' is uninitialized. Always initialize a member variable (type.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	826	
Warning	C26495	Variable 'juce::RenderingHelpers::EdgeTableFillers::ImageFill<juce::PixelARGB,juce::PixelAlpha,1>::linePixels' is uninitialized. Always initialize a member variable (type.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	826	
Warning	C26495	Variable 'juce::RenderingHelpers::EdgeTableFillers::ImageFill<juce::PixelARGB,juce::PixelAlpha,1>::sourceLineStart' is uninitialized. Always initialize a member variable (type.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	826	
Warning	C26495	Variable 'juce::RenderingHelpers::EdgeTableFillers::ImageFill<juce::PixelARGB,juce::PixelRGB,0>::linePixels' is uninitialized. Always initialize a member variable (type.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	826	
Warning	C26495	Variable 'juce::RenderingHelpers::EdgeTableFillers::ImageFill<juce::PixelARGB,juce::PixelRGB,0>::sourceLineStart' is uninitialized. Always initialize a member variable (type.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	826	
Warning	C26495	Variable 'juce::RenderingHelpers::EdgeTableFillers::ImageFill<juce::PixelARGB,juce::PixelRGB,1>::linePixels' is uninitialized. Always initialize a member variable (type.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	826	
Warning	C26495	Variable 'juce::RenderingHelpers::EdgeTableFillers::ImageFill<juce::PixelARGB,juce::PixelRGB,1>::sourceLineStart' is uninitialized. Always initialize a member variable (type.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	826	
Warning	C26495	Variable 'juce::RenderingHelpers::EdgeTableFillers::ImageFill<juce::PixelAlpha,juce::PixelARGB,0>::linePixels' is uninitialized. Always initialize a member variable (type.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	826	
Warning	C26495	Variable 'juce::RenderingHelpers::EdgeTableFillers::ImageFill<juce::PixelAlpha,juce::PixelARGB,0>::sourceLineStart' is uninitialized. Always initialize a member variable (type.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	826	
Warning	C26495	Variable 'juce::RenderingHelpers::EdgeTableFillers::ImageFill<juce::PixelAlpha,juce::PixelARGB,1>::linePixels' is uninitialized. Always initialize a member variable (type.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	826	
Warning	C26495	Variable 'juce::RenderingHelpers::EdgeTableFillers::ImageFill<juce::PixelAlpha,juce::PixelARGB,1>::sourceLineStart' is uninitialized. Always initialize a member variable (type.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	826	
Warning	C26495	Variable 'juce::RenderingHelpers::EdgeTableFillers::ImageFill<juce::PixelAlpha,juce::PixelAlpha,0>::linePixels' is uninitialized. Always initialize a member variable (type.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	826	
Warning	C26495	Variable 'juce::RenderingHelpers::EdgeTableFillers::ImageFill<juce::PixelAlpha,juce::PixelAlpha,0>::sourceLineStart' is uninitialized. Always initialize a member variable (type.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	826	
Warning	C26495	Variable 'juce::RenderingHelpers::EdgeTableFillers::ImageFill<juce::PixelAlpha,juce::PixelAlpha,1>::linePixels' is uninitialized. Always initialize a member variable (type.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	826	
Warning	C26495	Variable 'juce::RenderingHelpers::EdgeTableFillers::ImageFill<juce::PixelAlpha,juce::PixelAlpha,1>::sourceLineStart' is uninitialized. Always initialize a member variable (type.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	826	
Warning	C26495	Variable 'juce::RenderingHelpers::EdgeTableFillers::ImageFill<juce::PixelAlpha,juce::PixelRGB,0>::linePixels' is uninitialized. Always initialize a member variable (type.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	826	
Warning	C26495	Variable 'juce::RenderingHelpers::EdgeTableFillers::ImageFill<juce::PixelAlpha,juce::PixelRGB,0>::sourceLineStart' is uninitialized. Always initialize a member variable (type.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	826	
Warning	C26495	Variable 'juce::RenderingHelpers::EdgeTableFillers::ImageFill<juce::PixelAlpha,juce::PixelRGB,1>::linePixels' is uninitialized. Always initialize a member variable (type.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	826	
Warning	C26495	Variable 'juce::RenderingHelpers::EdgeTableFillers::ImageFill<juce::PixelAlpha,juce::PixelRGB,1>::sourceLineStart' is uninitialized. Always initialize a member variable (type.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	826	
Warning	C26495	Variable 'juce::RenderingHelpers::EdgeTableFillers::ImageFill<juce::PixelRGB,juce::PixelARGB,0>::linePixels' is uninitialized. Always initialize a member variable (type.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	826	
Warning	C26495	Variable 'juce::RenderingHelpers::EdgeTableFillers::ImageFill<juce::PixelRGB,juce::PixelARGB,0>::sourceLineStart' is uninitialized. Always initialize a member variable (type.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	826	
Warning	C26495	Variable 'juce::RenderingHelpers::EdgeTableFillers::ImageFill<juce::PixelRGB,juce::PixelARGB,1>::linePixels' is uninitialized. Always initialize a member variable (type.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	826	
Warning	C26495	Variable 'juce::RenderingHelpers::EdgeTableFillers::ImageFill<juce::PixelRGB,juce::PixelARGB,1>::sourceLineStart' is uninitialized. Always initialize a member variable (type.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	826	
Warning	C26495	Variable 'juce::RenderingHelpers::EdgeTableFillers::ImageFill<juce::PixelRGB,juce::PixelAlpha,0>::linePixels' is uninitialized. Always initialize a member variable (type.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	826	
Warning	C26495	Variable 'juce::RenderingHelpers::EdgeTableFillers::ImageFill<juce::PixelRGB,juce::PixelAlpha,0>::sourceLineStart' is uninitialized. Always initialize a member variable (type.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	826	
Warning	C26495	Variable 'juce::RenderingHelpers::EdgeTableFillers::ImageFill<juce::PixelRGB,juce::PixelAlpha,1>::linePixels' is uninitialized. Always initialize a member variable (type.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	826	
Warning	C26495	Variable 'juce::RenderingHelpers::EdgeTableFillers::ImageFill<juce::PixelRGB,juce::PixelAlpha,1>::sourceLineStart' is uninitialized. Always initialize a member variable (type.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	826	
Warning	C26495	Variable 'juce::RenderingHelpers::EdgeTableFillers::ImageFill<juce::PixelRGB,juce::PixelRGB,0>::linePixels' is uninitialized. Always initialize a member variable (type.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	826	
Warning	C26495	Variable 'juce::RenderingHelpers::EdgeTableFillers::ImageFill<juce::PixelRGB,juce::PixelRGB,0>::sourceLineStart' is uninitialized. Always initialize a member variable (type.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	826	
Warning	C26495	Variable 'juce::RenderingHelpers::EdgeTableFillers::ImageFill<juce::PixelRGB,juce::PixelRGB,1>::linePixels' is uninitialized. Always initialize a member variable (type.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	826	
Warning	C26495	Variable 'juce::RenderingHelpers::EdgeTableFillers::ImageFill<juce::PixelRGB,juce::PixelRGB,1>::sourceLineStart' is uninitialized. Always initialize a member variable (type.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	826	
Warning	C26451	Arithmetic overflow: Using operator '*' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '*' to avoid overflow (io.2).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_graphics\native\juce_renderinghelpers.h	964	
Warning	C26495	Variable 'juce::RenderingHelpers::EdgeTableFillers::TransformedImageFill<juce::PixelARGB,juce::PixelARGB,0>::currentY' is uninitialized. 

Warning	C26498	The function 'std::numeric_limits<float>::epsilon' is constexpr, mark variable 'epsilon' constexpr if compile-time evaluation is desired (con.5).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\modules\juce_opengl\geometry\juce_vector3d.h	77	
Warning	C26495	Variable 'PlayStatusPluginAudioProcessor::positionInfo' is uninitialized. Always initialize a member variable (type.6).	PlayStatusPlugin_SharedCode	c:\users\rock\desktop\programming\juce\playstatusplugin-master\source\pluginprocessor.cpp	15	
Warning	C4100	'index': unreferenced formal parameter	PlayStatusPlugin_SharedCode	C:\Users\Rock\Desktop\PROGRAMMING\JUCE\PlayStatusPlugin-master\Source\PluginProcessor.cpp	82	
Warning	C4100	'index': unreferenced formal parameter	PlayStatusPlugin_SharedCode	C:\Users\Rock\Desktop\PROGRAMMING\JUCE\PlayStatusPlugin-master\Source\PluginProcessor.cpp	86	
Warning	C4100	'newName': unreferenced formal parameter	PlayStatusPlugin_SharedCode	C:\Users\Rock\Desktop\PROGRAMMING\JUCE\PlayStatusPlugin-master\Source\PluginProcessor.cpp	91	
Warning	C4100	'index': unreferenced formal parameter	PlayStatusPlugin_SharedCode	C:\Users\Rock\Desktop\PROGRAMMING\JUCE\PlayStatusPlugin-master\Source\PluginProcessor.cpp	91	
Warning	C4100	'samplesPerBlock': unreferenced formal parameter	PlayStatusPlugin_SharedCode	C:\Users\Rock\Desktop\PROGRAMMING\JUCE\PlayStatusPlugin-master\Source\PluginProcessor.cpp	96	
Warning	C4100	'sampleRate': unreferenced formal parameter	PlayStatusPlugin_SharedCode	C:\Users\Rock\Desktop\PROGRAMMING\JUCE\PlayStatusPlugin-master\Source\PluginProcessor.cpp	96	
Warning	C4100	'midiMessages': unreferenced formal parameter	PlayStatusPlugin_SharedCode	C:\Users\Rock\Desktop\PROGRAMMING\JUCE\PlayStatusPlugin-master\Source\PluginProcessor.cpp	131	
Warning	C4100	'destData': unreferenced formal parameter	PlayStatusPlugin_SharedCode	C:\Users\Rock\Desktop\PROGRAMMING\JUCE\PlayStatusPlugin-master\Source\PluginProcessor.cpp	158	
Warning	C4100	'sizeInBytes': unreferenced formal parameter	PlayStatusPlugin_SharedCode	C:\Users\Rock\Desktop\PROGRAMMING\JUCE\PlayStatusPlugin-master\Source\PluginProcessor.cpp	165	
Warning	C4100	'data': unreferenced formal parameter	PlayStatusPlugin_SharedCode	C:\Users\Rock\Desktop\PROGRAMMING\JUCE\PlayStatusPlugin-master\Source\PluginProcessor.cpp	165	
Error	MSB3073	The command "copy /Y "C:\Users\Rock\Desktop\PROGRAMMING\JUCE\PlayStatusPlugin-master\Builds\VisualStudio2017\x64\Debug\VST3\PlayStatusPlugin.vst3" "%CommonProgramW6432%\VST3\PlayStatusPlugin.vst3"
:VCEnd" exited with code 1.	PlayStatusPlugin_VST3	C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets	138

The warnings, apart from the unreferenced formal parameters, are likely related to Visual Studio 2019, I am using VS2017 myself. You can probably ignore the warnings, as far as I know, JUCE has not been tested by the Roli team with VS2019 anyway.

The error seems to be about the final copy step of the plugin into the VST3 folder. Maybe you don’t have the folder on your system yet?

Errors and warnings aside. It is working perfectly if I place a tiny snip of audio in the track.

For future reference it should be mentioned there are hosts that won’t call the processBlock method if there is no audio material on the track where the plugin has been instantiated. Some hosts can be tricked by turning on record or input monitoring on the track. (Of course the record enable is problematic because one probably wouldn’t really want to record on the track unless it’s the track where one actually wants to record…) Getting the playback transport status depends on the processBlock method being called, so it’s a tricky thing to deal with.

At least Waveform doesn’t care if I am recording to that specific track containing the plug.