JNIEXPORT jint JNICALL Java_org_puredata_core_PdBase_sendAftertouch (JNIEnv *env, jclass cls, jint channel, jint value) { pthread_mutex_lock(&mutex); int err = libpd_aftertouch(channel, value); pthread_mutex_unlock(&mutex); return err; }
void PdBase::sendAftertouch(const int channel, const int value) { libpd_aftertouch(channel, value); }
void PdBase::sendAftertouch(const int channel, const int value) { _LOCK(); libpd_aftertouch(channel, value); _UNLOCK(); }