Searched defs:deviceHandle (Results 1 - 4 of 4) sorted by relevance
/openjdk7/jdk/src/share/native/com/sun/media/sound/ |
H A D | MidiOutDevice.c | 50 void* deviceHandle = NULL; local 56 err = MIDI_OUT_OpenDevice((INT32) index, (MidiDeviceHandle**) (&deviceHandle)); 60 if (!deviceHandle) { 67 return (jlong) (INT_PTR) deviceHandle; 72 Java_com_sun_media_sound_MidiOutDevice_nClose(JNIEnv* e, jobject thisObj, jlong deviceHandle) { argument 77 MIDI_OUT_CloseDevice((MidiDeviceHandle*) (UINT_PTR) deviceHandle); 85 Java_com_sun_media_sound_MidiOutDevice_nGetTimeStamp(JNIEnv* e, jobject thisObj, jlong deviceHandle) { argument 92 ret = (jlong) MIDI_OUT_GetTimeStamp((MidiDeviceHandle*) (UINT_PTR) deviceHandle); 105 Java_com_sun_media_sound_MidiOutDevice_nSendShortMessage(JNIEnv* e, jobject thisObj, jlong deviceHandle, argument 111 MIDI_OUT_SendShortMessage((MidiDeviceHandle*) (UINT_PTR) deviceHandle, 120 Java_com_sun_media_sound_MidiOutDevice_nSendLongMessage(JNIEnv* e, jobject thisObj, jlong deviceHandle, jbyteArray jData, jint size, jlong timeStamp) argument [all...] |
H A D | MidiInDevice.c | 48 MidiDeviceHandle* deviceHandle = NULL; local 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) { argument 86 MIDI_IN_CloseDevice((MidiDeviceHandle*) (UINT_PTR) deviceHandle); 94 Java_com_sun_media_sound_MidiInDevice_nStart(JNIEnv* e, jobject thisObj, jlong deviceHandle) { argument 101 err = MIDI_IN_StartDevice((MidiDeviceHandle*) (UINT_PTR) deviceHandle); 115 Java_com_sun_media_sound_MidiInDevice_nStop(JNIEnv* e, jobject thisObj, jlong deviceHandle) { argument 128 Java_com_sun_media_sound_MidiInDevice_nGetTimeStamp(JNIEnv* e, jobject thisObj, jlong deviceHandle) argument 148 Java_com_sun_media_sound_MidiInDevice_nGetMessages(JNIEnv* e, jobject thisObj, jlong deviceHandle) argument [all...] |
H A D | PlatformMidi.h | 104 void* deviceHandle; // handle to the device member in struct:tag_MidiDeviceHandle 150 * deviceHandle: native device handle 251 * deviceHandle: native device handle
|
/openjdk7/jdk/src/windows/native/com/sun/media/sound/ |
H A D | PLATFORM_API_WinOS_MidiOut.c | 151 if (!handle || !handle->deviceHandle || !handle->longBuffers) { 152 ERROR0("MIDI_OUT_unprepareLongBuffers: handle, deviceHandle, or longBuffers == NULL\n"); 159 err = midiOutUnprepareHeader((HMIDIOUT) handle->deviceHandle, hdr, sizeof(MIDIHDR)); 166 INT32 freeLongBuffer(MIDIHDR* hdr, HMIDIOUT deviceHandle, INT32 minToLeaveData) { argument 173 if (hdr->dwFlags && deviceHandle) { 174 err = midiOutUnprepareHeader(deviceHandle, hdr, sizeof(MIDIHDR)); 197 err = freeLongBuffer(&(sysex->header[i]), (HMIDIOUT) handle->deviceHandle, -1); 244 err = midiOutOpen((HMIDIOUT*) &((*handle)->deviceHandle), deviceID, 247 if ((err != MMSYSERR_NOERROR) || (!(*handle)->deviceHandle)) { 249 if (midiOutShortMsg((HMIDIOUT) ((*handle)->deviceHandle), [all...] |
Completed in 60 milliseconds