Beispiel #1
0
JNIEXPORT jint JNICALL Java_org_puredata_core_PdBase_sendPolyAftertouch
(JNIEnv *env, jclass cls, jint channel, jint pitch, jint value) {
  pthread_mutex_lock(&mutex);
  int err = libpd_polyaftertouch(channel, pitch, value);
  pthread_mutex_unlock(&mutex);
  return err;
}
Beispiel #2
0
void PdBase::sendPolyAftertouch(const int channel, int pitch, int value) {
	libpd_polyaftertouch(channel, pitch, value);
}