Lines Matching defs:deviceHandle
48 MidiDeviceHandle* deviceHandle = NULL;
54 err = MIDI_IN_OpenDevice((INT32) index, &deviceHandle);
68 if (!deviceHandle || err != MIDI_SUCCESS) {
69 deviceHandle = NULL;
76 return (jlong) (UINT_PTR) deviceHandle;
81 Java_com_sun_media_sound_MidiInDevice_nClose(JNIEnv* e, jobject thisObj, jlong deviceHandle) {
86 MIDI_IN_CloseDevice((MidiDeviceHandle*) (UINT_PTR) deviceHandle);
94 Java_com_sun_media_sound_MidiInDevice_nStart(JNIEnv* e, jobject thisObj, jlong deviceHandle) {
101 err = MIDI_IN_StartDevice((MidiDeviceHandle*) (UINT_PTR) deviceHandle);
115 Java_com_sun_media_sound_MidiInDevice_nStop(JNIEnv* e, jobject thisObj, jlong deviceHandle) {
121 MIDI_IN_StopDevice((MidiDeviceHandle*) (UINT_PTR) deviceHandle);
128 Java_com_sun_media_sound_MidiInDevice_nGetTimeStamp(JNIEnv* e, jobject thisObj, jlong deviceHandle) {
135 ret = (jlong) MIDI_IN_GetTimeStamp((MidiDeviceHandle*) (UINT_PTR) deviceHandle);
148 Java_com_sun_media_sound_MidiInDevice_nGetMessages(JNIEnv* e, jobject thisObj, jlong deviceHandle) {
160 while ((pMessage = MIDI_IN_GetMessage((MidiDeviceHandle*) (UINT_PTR) deviceHandle))) {
201 MIDI_IN_ReleaseMessage((MidiDeviceHandle*) (UINT_PTR) deviceHandle, pMessage);
233 MIDI_IN_ReleaseMessage((MidiDeviceHandle*) (UINT_PTR) deviceHandle, pMessage);
251 MIDI_IN_ReleaseMessage((MidiDeviceHandle*) (UINT_PTR) deviceHandle, pMessage);