Exemple #1
0
void PdBase::closePatch(Patch& patch) {
	if(!patch.isValid()) {
		return;
	}
	libpd_closefile(patch.handle());
	patch.clear();
}	
Exemple #2
0
void ofxPd::closePatch(Patch& patch) {
	
	ofLog(OF_LOG_VERBOSE, "ofxPd: Closing patch: %s", patch.filename().c_str());
	
	_LOCK();
	libpd_closefile(patch.handle());
	_UNLOCK();
	patch.clear();
}