Exemple #1
0
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;
}
Exemple #2
0
void PdBase::sendAftertouch(const int channel, const int value) {
	libpd_aftertouch(channel, value);
}
Exemple #3
0
void PdBase::sendAftertouch(const int channel, const int value) {
    _LOCK();
    libpd_aftertouch(channel, value);
    _UNLOCK();
}