But I don’t understand why you are getting that assertion. The AudioProcessorPlayer will call reset accordingly. See this line here.
This is why I’ve asked if you also see this in the “audio plugin demo” so that I can have a go at reproducing this. For me, the “audio plugin demo” works fine on iOS.
ok, got ya… i’ll try the audio plugin demo shortly and see if I get the same result… I’ll also check whether that function is being called correctly in my plugin… cheers
String error;
AudioIODeviceType* type = getCurrentDeviceTypeObject();
if (type == nullptr || (newInputDeviceName.isEmpty() && newOutputDeviceName.isEmpty()))
{
deleteCurrentDevice();
if (treatAsChosenDevice)
updateXml();
return String();
}
In the demo plugin, newOutputDeviceName is “iOS Audio”, for my plugin it is empty… Wondering whether this is something to do with the fact I’ve declared it as a midi effect plugin?