CoreMidi4JUtilities.h File Reference

#include <iostream>
#include "CoreMidi4J.h"
#include <CoreMIDI/CoreMIDI.h>

Go to the source code of this file.

Data Structures

struct  midiCallBackParameters

Typedefs

typedef struct
midiCallBackParameters 
MIDI_CALLBACK_PARAMETERS

Functions

void ThrowException (JNIEnv *env, CFStringRef function, OSStatus status)
void printJniStatus (int status)

Typedef Documentation


Function Documentation

void printJniStatus ( int  status  ) 

Helper function that prints out JNI Status Codes

Parameters:
status The status value to print

Definition at line 54 of file CoreMidi4JUtilities.cpp.

void ThrowException ( JNIEnv *  env,
CFStringRef  function,
OSStatus  status 
)

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 Helper function for throwing exceptions to Java

Parameters:
env The JNI environment
function The name of the function that caused the error
status The status code which provides details about the error

TODO - At some point it might be useful to decode the error here. Could also store more information in the exception?

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 28 of file CoreMidi4JUtilities.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