CoreMidi4J.h File Reference

#include <jni.h>

Go to the source code of this file.

Defines

#define _Included_uk_co_xfactorylibrarians_coremidi4j_CoreMidiDestination
#define _Included_uk_co_xfactorylibrarians_coremidi4j_CoreMidiDeviceProvider
#define uk_co_xfactorylibrarians_coremidi4j_CoreMidiDeviceProvider_DEVICE_MAP_SIZE   20L
#define _Included_uk_co_xfactorylibrarians_coremidi4j_CoreMidiDeviceProvider_MidiProperties
#define _Included_uk_co_xfactorylibrarians_coremidi4j_CoreMidiInputPort
#define _Included_uk_co_xfactorylibrarians_coremidi4j_CoreMidiOutputPort
#define _Included_uk_co_xfactorylibrarians_coremidi4j_CoreMidiSource

Functions

JNIEXPORT jint JNICALL Java_uk_co_xfactorylibrarians_coremidi4j_CoreMidiClient_createClient (JNIEnv *, jobject, jstring)
JNIEXPORT void JNICALL Java_uk_co_xfactorylibrarians_coremidi4j_CoreMidiClient_disposeClient (JNIEnv *, jobject, jint)
JNIEXPORT jlong JNICALL Java_uk_co_xfactorylibrarians_coremidi4j_CoreMidiDestination_getMicroSecondTime (JNIEnv *, jobject)
JNIEXPORT jint JNICALL Java_uk_co_xfactorylibrarians_coremidi4j_CoreMidiDeviceProvider_getNumberOfSources (JNIEnv *, jobject)
JNIEXPORT jint JNICALL Java_uk_co_xfactorylibrarians_coremidi4j_CoreMidiDeviceProvider_getNumberOfDestinations (JNIEnv *, jobject)
JNIEXPORT jint JNICALL Java_uk_co_xfactorylibrarians_coremidi4j_CoreMidiDeviceProvider_getSource (JNIEnv *, jobject, jint)
JNIEXPORT jint JNICALL Java_uk_co_xfactorylibrarians_coremidi4j_CoreMidiDeviceProvider_getDestination (JNIEnv *, jobject, jint)
JNIEXPORT jint JNICALL Java_uk_co_xfactorylibrarians_coremidi4j_CoreMidiDeviceProvider_getUniqueID (JNIEnv *, jobject, jint)
JNIEXPORT jobject JNICALL Java_uk_co_xfactorylibrarians_coremidi4j_CoreMidiDeviceProvider_getMidiDeviceInfo (JNIEnv *, jobject, jint)
JNIEXPORT jint JNICALL Java_uk_co_xfactorylibrarians_coremidi4j_CoreMidiInputPort_createInputPort (JNIEnv *, jobject, jint, jstring)
JNIEXPORT jlong JNICALL Java_uk_co_xfactorylibrarians_coremidi4j_CoreMidiInputPort_midiPortConnectSource (JNIEnv *, jobject, jint, jobject)
JNIEXPORT void JNICALL Java_uk_co_xfactorylibrarians_coremidi4j_CoreMidiInputPort_midiPortDisconnectSource (JNIEnv *, jobject, jint, jlong, jobject)
JNIEXPORT jint JNICALL Java_uk_co_xfactorylibrarians_coremidi4j_CoreMidiOutputPort_createOutputPort (JNIEnv *, jobject, jint, jstring)
JNIEXPORT void JNICALL Java_uk_co_xfactorylibrarians_coremidi4j_CoreMidiOutputPort_sendMidiMessage (JNIEnv *, jobject, jint, jint, jobject, jlong)
JNIEXPORT jlong JNICALL Java_uk_co_xfactorylibrarians_coremidi4j_CoreMidiSource_getMicroSecondTime (JNIEnv *, jobject)

Define Documentation

#define _Included_uk_co_xfactorylibrarians_coremidi4j_CoreMidiDestination

Definition at line 33 of file CoreMidi4J.h.

#define _Included_uk_co_xfactorylibrarians_coremidi4j_CoreMidiDeviceProvider

Definition at line 52 of file CoreMidi4J.h.

#define _Included_uk_co_xfactorylibrarians_coremidi4j_CoreMidiDeviceProvider_MidiProperties

Definition at line 113 of file CoreMidi4J.h.

#define _Included_uk_co_xfactorylibrarians_coremidi4j_CoreMidiInputPort

Definition at line 124 of file CoreMidi4J.h.

#define _Included_uk_co_xfactorylibrarians_coremidi4j_CoreMidiOutputPort

Definition at line 159 of file CoreMidi4J.h.

#define _Included_uk_co_xfactorylibrarians_coremidi4j_CoreMidiSource

Definition at line 186 of file CoreMidi4J.h.

#define uk_co_xfactorylibrarians_coremidi4j_CoreMidiDeviceProvider_DEVICE_MAP_SIZE   20L

Definition at line 57 of file CoreMidi4J.h.


Function Documentation

JNIEXPORT jint JNICALL Java_uk_co_xfactorylibrarians_coremidi4j_CoreMidiClient_createClient ( JNIEnv *  env,
jobject  obj,
jstring  clientName 
)

Creates a MIDI client reference

Class: com_coremidi4j_CoreMidiClient Method: createClient Signature: ()I

Parameters:
env The JNI environment
obj The reference to the java object instance that called this native method
Returns:
A reference to the created client
Exceptions:
CoreMidiException if the client cannot be created

Definition at line 114 of file CoreMidiClient.cpp.

JNIEXPORT void JNICALL Java_uk_co_xfactorylibrarians_coremidi4j_CoreMidiClient_disposeClient ( JNIEnv *  env,
jobject  obj,
jint  clientReference 
)

Disposes of a MIDI client reference

Class: com_coremidi4j__CoreMidiClient Method: disposeClient Signature: (I)V

Parameters:
env The JNI environment
obj The reference to the java object instance that called this native method
clientReference The client reference to release and dispose
Exceptions:
CoreMidiException if the client cannot be disposed

Definition at line 187 of file CoreMidiClient.cpp.

JNIEXPORT jlong JNICALL Java_uk_co_xfactorylibrarians_coremidi4j_CoreMidiDestination_getMicroSecondTime ( JNIEnv *  ,
jobject   
)

Title: CoreMIDI4J Description: Core MIDI Device Provider for Java on OS X Copyright: Copyright (c) 2015-2016 Company: x.factory Librarians

Author:
Derek Cook

CoreMIDI4J is an open source Service Provider Interface for supporting external MIDI devices on MAC OS X

This file is part of the XCODE project that provides the native implementation of CoreMIDI4J

CREDITS - This library uses principles established by OSXMIDI4J, but converted so it operates at the JNI level with no additional libraries required

Definition at line 30 of file CoreMidiDestination.cpp.

JNIEXPORT jint JNICALL Java_uk_co_xfactorylibrarians_coremidi4j_CoreMidiDeviceProvider_getDestination ( JNIEnv *  ,
jobject  ,
jint   
)

Definition at line 109 of file CoreMidiDeviceProvider.cpp.

JNIEXPORT jobject JNICALL Java_uk_co_xfactorylibrarians_coremidi4j_CoreMidiDeviceProvider_getMidiDeviceInfo ( JNIEnv *  ,
jobject  ,
jint   
)

Definition at line 161 of file CoreMidiDeviceProvider.cpp.

JNIEXPORT jint JNICALL Java_uk_co_xfactorylibrarians_coremidi4j_CoreMidiDeviceProvider_getNumberOfDestinations ( JNIEnv *  ,
jobject   
)

Definition at line 57 of file CoreMidiDeviceProvider.cpp.

JNIEXPORT jint JNICALL Java_uk_co_xfactorylibrarians_coremidi4j_CoreMidiDeviceProvider_getNumberOfSources ( JNIEnv *  env,
jobject  obj 
)

Title: CoreMIDI4J Description: Core MIDI Device Provider for Java on OS X Copyright: Copyright (c) 2015-2016 Company: x.factory Librarians

Author:
Derek Cook

CoreMIDI4J is an open source Service Provider Interface for supporting external MIDI devices on MAC OS X

This file is part of the XCODE project that provides the native implementation of CoreMIDI4J

CREDITS - This library uses principles established by OSXMIDI4J, but converted so it operates at the JNI level with no additional libraries required

Definition at line 37 of file CoreMidiDeviceProvider.cpp.

JNIEXPORT jint JNICALL Java_uk_co_xfactorylibrarians_coremidi4j_CoreMidiDeviceProvider_getSource ( JNIEnv *  ,
jobject  ,
jint   
)

Definition at line 80 of file CoreMidiDeviceProvider.cpp.

JNIEXPORT jint JNICALL Java_uk_co_xfactorylibrarians_coremidi4j_CoreMidiDeviceProvider_getUniqueID ( JNIEnv *  ,
jobject  ,
jint   
)

Definition at line 136 of file CoreMidiDeviceProvider.cpp.

JNIEXPORT jint JNICALL Java_uk_co_xfactorylibrarians_coremidi4j_CoreMidiInputPort_createInputPort ( JNIEnv *  ,
jobject  ,
jint  ,
jstring   
)

Definition at line 139 of file CoreMidiInputPort.cpp.

JNIEXPORT jlong JNICALL Java_uk_co_xfactorylibrarians_coremidi4j_CoreMidiInputPort_midiPortConnectSource ( JNIEnv *  ,
jobject  ,
jint  ,
jobject   
)

Definition at line 182 of file CoreMidiInputPort.cpp.

JNIEXPORT void JNICALL Java_uk_co_xfactorylibrarians_coremidi4j_CoreMidiInputPort_midiPortDisconnectSource ( JNIEnv *  ,
jobject  ,
jint  ,
jlong  ,
jobject   
)

Definition at line 242 of file CoreMidiInputPort.cpp.

JNIEXPORT jint JNICALL Java_uk_co_xfactorylibrarians_coremidi4j_CoreMidiOutputPort_createOutputPort ( JNIEnv *  env,
jobject  obj,
jint  clientReference,
jstring  portName 
)

Title: CoreMIDI4J Description: Core MIDI Device Provider for Java on OS X Copyright: Copyright (c) 2015-2016 Company: x.factory Librarians

Author:
Derek Cook

CoreMIDI4J is an open source Service Provider Interface for supporting external MIDI devices on MAC OS X

This file is part of the XCODE project that provides the native implementation of CoreMIDI4J

CREDITS - This library uses principles established by OSXMIDI4J, but converted so it operates at the JNI level with no additional libraries required

Definition at line 41 of file CoreMidiOutputPort.cpp.

JNIEXPORT void JNICALL Java_uk_co_xfactorylibrarians_coremidi4j_CoreMidiOutputPort_sendMidiMessage ( JNIEnv *  ,
jobject  ,
jint  ,
jint  ,
jobject  ,
jlong   
)

Definition at line 86 of file CoreMidiOutputPort.cpp.

JNIEXPORT jlong JNICALL Java_uk_co_xfactorylibrarians_coremidi4j_CoreMidiSource_getMicroSecondTime ( JNIEnv *  ,
jobject   
)

Title: CoreMIDI4J Description: Core MIDI Device Provider for Java on OS X Copyright: Copyright (c) 2015-2016 Company: x.factory Librarians

Author:
Derek Cook

CoreMIDI4J is an open source Service Provider Interface for supporting external MIDI devices on MAC OS X

This file is part of the XCODE project that provides the native implementation of CoreMIDI4J

CREDITS - This library uses principles established by OSXMIDI4J, but converted so it operates at the JNI level with no additional libraries required

Definition at line 30 of file CoreMidiSource.cpp.

 All Data Structures Files Functions Variables Typedefs Defines
Generated on Tue Sep 12 17:29:57 2017 for CoreMidi4J by  doxygen 1.6.3