52 double getLatencySeconds (
double sampleRate,
int blockSize);
75 bool addConnection (
EditItemID source,
int sourcePin,
78 bool removeConnection (
EditItemID source,
int sourcePin,
82 bool isConnectionLegal (
EditItemID source,
int sourcePin,
87 void checkConnections();
99 void removeInput (
int index);
100 void removeOutput (
int index);
103 void renameOutput (
int index,
const juce::String& name);
105 bool pasteClipboard();
122 static const char* getRackPresetPrefix()
noexcept {
return "rackpreset::"; }
136 void loadWindowPosition();
137 void saveWindowPosition();
138 void hideWindowForShutdown();
154 struct RackPluginList;
157 struct ConnectionList;
160 struct WindowStateList;
166 int numberOfInstancesInEdit = 0;
172 void countInstancesInEdit();
174 void removeAllInputsAndOutputs();
175 void addDefaultInputs();
176 void addDefaultOutputs();
178 void triggerUpdate();
179 void updateRenderContext();