summaryrefslogtreecommitdiff
path: root/libjava/gnu/javax/sound/midi
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/gnu/javax/sound/midi')
-rw-r--r--libjava/gnu/javax/sound/midi/alsa/AlsaInputPortDevice.h59
-rw-r--r--libjava/gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider$AlsaInfo.h51
-rw-r--r--libjava/gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider$AlsaInputPortInfo.h51
-rw-r--r--libjava/gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider$AlsaOutputPortInfo.h51
-rw-r--r--libjava/gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider$AlsaPortInfo.h42
-rw-r--r--libjava/gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider$AlsaSequencerInfo.h51
-rw-r--r--libjava/gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider.h60
-rw-r--r--libjava/gnu/javax/sound/midi/alsa/AlsaMidiSequencerDevice.h112
-rw-r--r--libjava/gnu/javax/sound/midi/alsa/AlsaOutputPortDevice.h59
-rw-r--r--libjava/gnu/javax/sound/midi/alsa/AlsaPortDevice$AlsaReceiver.h54
-rw-r--r--libjava/gnu/javax/sound/midi/alsa/AlsaPortDevice$AlsaTransmitter.h59
-rw-r--r--libjava/gnu/javax/sound/midi/alsa/AlsaPortDevice.h66
-rw-r--r--libjava/gnu/javax/sound/midi/dssi/DSSIMidiDeviceProvider$1.h40
-rw-r--r--libjava/gnu/javax/sound/midi/dssi/DSSIMidiDeviceProvider$DSSIInfo.h42
-rw-r--r--libjava/gnu/javax/sound/midi/dssi/DSSIMidiDeviceProvider.h67
-rw-r--r--libjava/gnu/javax/sound/midi/dssi/DSSISynthesizer$DSSIInstrument.h55
-rw-r--r--libjava/gnu/javax/sound/midi/dssi/DSSISynthesizer$DSSIMidiChannel.h69
-rw-r--r--libjava/gnu/javax/sound/midi/dssi/DSSISynthesizer$DSSIReceiver.h55
-rw-r--r--libjava/gnu/javax/sound/midi/dssi/DSSISynthesizer$DSSISoundbank.h73
-rw-r--r--libjava/gnu/javax/sound/midi/dssi/DSSISynthesizer.h104
-rw-r--r--libjava/gnu/javax/sound/midi/file/ExtendedMidiFileFormat.h42
-rw-r--r--libjava/gnu/javax/sound/midi/file/MidiDataInputStream.h39
-rw-r--r--libjava/gnu/javax/sound/midi/file/MidiDataOutputStream.h40
-rw-r--r--libjava/gnu/javax/sound/midi/file/MidiFileReader.h62
-rw-r--r--libjava/gnu/javax/sound/midi/file/MidiFileWriter.h60
25 files changed, 1463 insertions, 0 deletions
diff --git a/libjava/gnu/javax/sound/midi/alsa/AlsaInputPortDevice.h b/libjava/gnu/javax/sound/midi/alsa/AlsaInputPortDevice.h
new file mode 100644
index 000000000..cb7291dae
--- /dev/null
+++ b/libjava/gnu/javax/sound/midi/alsa/AlsaInputPortDevice.h
@@ -0,0 +1,59 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_sound_midi_alsa_AlsaInputPortDevice__
+#define __gnu_javax_sound_midi_alsa_AlsaInputPortDevice__
+
+#pragma interface
+
+#include <gnu/javax/sound/midi/alsa/AlsaPortDevice.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace midi
+ {
+ namespace alsa
+ {
+ class AlsaInputPortDevice;
+ class AlsaMidiDeviceProvider$AlsaPortInfo;
+ }
+ }
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace midi
+ {
+ class Receiver;
+ class Transmitter;
+ }
+ }
+ }
+}
+
+class gnu::javax::sound::midi::alsa::AlsaInputPortDevice : public ::gnu::javax::sound::midi::alsa::AlsaPortDevice
+{
+
+public: // actually package-private
+ AlsaInputPortDevice(::gnu::javax::sound::midi::alsa::AlsaMidiDeviceProvider$AlsaPortInfo *);
+public:
+ virtual void open();
+ virtual void close();
+ virtual jboolean isOpen();
+ virtual jlong getMicrosecondPosition();
+ virtual jint getMaxReceivers();
+ virtual jint getMaxTransmitters();
+ virtual ::javax::sound::midi::Receiver * getReceiver();
+ virtual ::javax::sound::midi::Transmitter * getTransmitter();
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_sound_midi_alsa_AlsaInputPortDevice__
diff --git a/libjava/gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider$AlsaInfo.h b/libjava/gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider$AlsaInfo.h
new file mode 100644
index 000000000..fb7a22385
--- /dev/null
+++ b/libjava/gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider$AlsaInfo.h
@@ -0,0 +1,51 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider$AlsaInfo__
+#define __gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider$AlsaInfo__
+
+#pragma interface
+
+#include <javax/sound/midi/MidiDevice$Info.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace midi
+ {
+ namespace alsa
+ {
+ class AlsaMidiDeviceProvider$AlsaInfo;
+ }
+ }
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace midi
+ {
+ class MidiDevice;
+ }
+ }
+ }
+}
+
+class gnu::javax::sound::midi::alsa::AlsaMidiDeviceProvider$AlsaInfo : public ::javax::sound::midi::MidiDevice$Info
+{
+
+public:
+ AlsaMidiDeviceProvider$AlsaInfo(::java::lang::String *, ::java::lang::String *);
+public: // actually package-private
+ virtual ::javax::sound::midi::MidiDevice * getDevice() = 0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider$AlsaInfo__
diff --git a/libjava/gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider$AlsaInputPortInfo.h b/libjava/gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider$AlsaInputPortInfo.h
new file mode 100644
index 000000000..51bab4a40
--- /dev/null
+++ b/libjava/gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider$AlsaInputPortInfo.h
@@ -0,0 +1,51 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider$AlsaInputPortInfo__
+#define __gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider$AlsaInputPortInfo__
+
+#pragma interface
+
+#include <gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider$AlsaPortInfo.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace midi
+ {
+ namespace alsa
+ {
+ class AlsaMidiDeviceProvider$AlsaInputPortInfo;
+ }
+ }
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace midi
+ {
+ class MidiDevice;
+ }
+ }
+ }
+}
+
+class gnu::javax::sound::midi::alsa::AlsaMidiDeviceProvider$AlsaInputPortInfo : public ::gnu::javax::sound::midi::alsa::AlsaMidiDeviceProvider$AlsaPortInfo
+{
+
+public:
+ AlsaMidiDeviceProvider$AlsaInputPortInfo(::java::lang::String *, ::java::lang::String *, jlong, jlong);
+public: // actually package-private
+ virtual ::javax::sound::midi::MidiDevice * getDevice();
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider$AlsaInputPortInfo__
diff --git a/libjava/gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider$AlsaOutputPortInfo.h b/libjava/gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider$AlsaOutputPortInfo.h
new file mode 100644
index 000000000..c37627bbf
--- /dev/null
+++ b/libjava/gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider$AlsaOutputPortInfo.h
@@ -0,0 +1,51 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider$AlsaOutputPortInfo__
+#define __gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider$AlsaOutputPortInfo__
+
+#pragma interface
+
+#include <gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider$AlsaPortInfo.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace midi
+ {
+ namespace alsa
+ {
+ class AlsaMidiDeviceProvider$AlsaOutputPortInfo;
+ }
+ }
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace midi
+ {
+ class MidiDevice;
+ }
+ }
+ }
+}
+
+class gnu::javax::sound::midi::alsa::AlsaMidiDeviceProvider$AlsaOutputPortInfo : public ::gnu::javax::sound::midi::alsa::AlsaMidiDeviceProvider$AlsaPortInfo
+{
+
+public:
+ AlsaMidiDeviceProvider$AlsaOutputPortInfo(::java::lang::String *, ::java::lang::String *, jlong, jlong);
+public: // actually package-private
+ virtual ::javax::sound::midi::MidiDevice * getDevice();
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider$AlsaOutputPortInfo__
diff --git a/libjava/gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider$AlsaPortInfo.h b/libjava/gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider$AlsaPortInfo.h
new file mode 100644
index 000000000..b7c2f6400
--- /dev/null
+++ b/libjava/gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider$AlsaPortInfo.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider$AlsaPortInfo__
+#define __gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider$AlsaPortInfo__
+
+#pragma interface
+
+#include <gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider$AlsaInfo.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace midi
+ {
+ namespace alsa
+ {
+ class AlsaMidiDeviceProvider$AlsaPortInfo;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::sound::midi::alsa::AlsaMidiDeviceProvider$AlsaPortInfo : public ::gnu::javax::sound::midi::alsa::AlsaMidiDeviceProvider$AlsaInfo
+{
+
+public:
+ AlsaMidiDeviceProvider$AlsaPortInfo(::java::lang::String *, ::java::lang::String *, jlong, jlong);
+public: // actually package-private
+ jlong __attribute__((aligned(__alignof__( ::gnu::javax::sound::midi::alsa::AlsaMidiDeviceProvider$AlsaInfo)))) client;
+ jlong port;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider$AlsaPortInfo__
diff --git a/libjava/gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider$AlsaSequencerInfo.h b/libjava/gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider$AlsaSequencerInfo.h
new file mode 100644
index 000000000..f1586dfaa
--- /dev/null
+++ b/libjava/gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider$AlsaSequencerInfo.h
@@ -0,0 +1,51 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider$AlsaSequencerInfo__
+#define __gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider$AlsaSequencerInfo__
+
+#pragma interface
+
+#include <gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider$AlsaInfo.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace midi
+ {
+ namespace alsa
+ {
+ class AlsaMidiDeviceProvider$AlsaSequencerInfo;
+ }
+ }
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace midi
+ {
+ class MidiDevice;
+ }
+ }
+ }
+}
+
+class gnu::javax::sound::midi::alsa::AlsaMidiDeviceProvider$AlsaSequencerInfo : public ::gnu::javax::sound::midi::alsa::AlsaMidiDeviceProvider$AlsaInfo
+{
+
+public:
+ AlsaMidiDeviceProvider$AlsaSequencerInfo(::java::lang::String *, ::java::lang::String *);
+public: // actually package-private
+ virtual ::javax::sound::midi::MidiDevice * getDevice();
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider$AlsaSequencerInfo__
diff --git a/libjava/gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider.h b/libjava/gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider.h
new file mode 100644
index 000000000..a1d2884ed
--- /dev/null
+++ b/libjava/gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider.h
@@ -0,0 +1,60 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider__
+#define __gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider__
+
+#pragma interface
+
+#include <javax/sound/midi/spi/MidiDeviceProvider.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace midi
+ {
+ namespace alsa
+ {
+ class AlsaMidiDeviceProvider;
+ class AlsaMidiDeviceProvider$AlsaInfo;
+ }
+ }
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace midi
+ {
+ class MidiDevice;
+ class MidiDevice$Info;
+ }
+ }
+ }
+}
+
+class gnu::javax::sound::midi::alsa::AlsaMidiDeviceProvider : public ::javax::sound::midi::spi::MidiDeviceProvider
+{
+
+ static JArray< ::gnu::javax::sound::midi::alsa::AlsaMidiDeviceProvider$AlsaInfo * > * getInputDeviceInfo_();
+ static JArray< ::gnu::javax::sound::midi::alsa::AlsaMidiDeviceProvider$AlsaInfo * > * getOutputDeviceInfo_();
+ static void init_();
+public:
+ AlsaMidiDeviceProvider();
+ virtual JArray< ::javax::sound::midi::MidiDevice$Info * > * getDeviceInfo();
+ virtual ::javax::sound::midi::MidiDevice * getDevice(::javax::sound::midi::MidiDevice$Info *);
+private:
+ static JArray< ::gnu::javax::sound::midi::alsa::AlsaMidiDeviceProvider$AlsaInfo * > * infos;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider__
diff --git a/libjava/gnu/javax/sound/midi/alsa/AlsaMidiSequencerDevice.h b/libjava/gnu/javax/sound/midi/alsa/AlsaMidiSequencerDevice.h
new file mode 100644
index 000000000..5317a9970
--- /dev/null
+++ b/libjava/gnu/javax/sound/midi/alsa/AlsaMidiSequencerDevice.h
@@ -0,0 +1,112 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice__
+#define __gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace midi
+ {
+ namespace alsa
+ {
+ class AlsaMidiSequencerDevice;
+ }
+ }
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace midi
+ {
+ class ControllerEventListener;
+ class MetaEventListener;
+ class MidiDevice$Info;
+ class Receiver;
+ class Sequence;
+ class Sequencer$SyncMode;
+ class Track;
+ class Transmitter;
+ }
+ }
+ }
+}
+
+class gnu::javax::sound::midi::alsa::AlsaMidiSequencerDevice : public ::java::lang::Object
+{
+
+ AlsaMidiSequencerDevice();
+public:
+ static ::gnu::javax::sound::midi::alsa::AlsaMidiSequencerDevice * getInstance();
+ virtual void setSequence(::javax::sound::midi::Sequence *);
+ virtual void setSequence(::java::io::InputStream *);
+ virtual ::javax::sound::midi::Sequence * getSequence();
+ virtual void start();
+ virtual void stop();
+ virtual jboolean isRunning();
+ virtual void startRecording();
+ virtual void stopRecording();
+ virtual jboolean isRecording();
+ virtual void recordEnable(::javax::sound::midi::Track *, jint);
+ virtual void recordDisable(::javax::sound::midi::Track *);
+ virtual jfloat getTempoInBPM();
+ virtual void setTempoInBPM(jfloat);
+ virtual jfloat getTempoInMPQ();
+ virtual void setTempoInMPQ(jfloat);
+ virtual void setTempoFactor(jfloat);
+ virtual jfloat getTempoFactor();
+ virtual jlong getTickLength();
+ virtual jlong getTickPosition();
+ virtual void setTickPosition(jlong);
+ virtual jlong getMicrosecondLength();
+ virtual jlong getMicrosecondPosition();
+ virtual void setMicrosecondPosition(jlong);
+ virtual void setMasterSyncMode(::javax::sound::midi::Sequencer$SyncMode *);
+ virtual ::javax::sound::midi::Sequencer$SyncMode * getMasterSyncMode();
+ virtual JArray< ::javax::sound::midi::Sequencer$SyncMode * > * getMasterSyncModes();
+ virtual void setSlaveSyncMode(::javax::sound::midi::Sequencer$SyncMode *);
+ virtual ::javax::sound::midi::Sequencer$SyncMode * getSlaveSyncMode();
+ virtual JArray< ::javax::sound::midi::Sequencer$SyncMode * > * getSlaveSyncModes();
+ virtual void setTrackMute(jint, jboolean);
+ virtual jboolean getTrackMute(jint);
+ virtual void setTrackSolo(jint, jboolean);
+ virtual jboolean getTrackSolo(jint);
+ virtual jboolean addMetaEventListener(::javax::sound::midi::MetaEventListener *);
+ virtual void removeMetaEventListener(::javax::sound::midi::MetaEventListener *);
+ virtual JArray< jint > * addControllerEventListener(::javax::sound::midi::ControllerEventListener *, JArray< jint > *);
+ virtual JArray< jint > * removeControllerEventListener(::javax::sound::midi::ControllerEventListener *, JArray< jint > *);
+ virtual ::javax::sound::midi::MidiDevice$Info * getDeviceInfo();
+ virtual void open();
+private:
+ jlong open_();
+ void close_(jlong);
+public:
+ virtual void close();
+ virtual jboolean isOpen();
+ virtual jint getMaxReceivers();
+ virtual jint getMaxTransmitters();
+ virtual ::javax::sound::midi::Receiver * getReceiver();
+ virtual ::javax::sound::midi::Transmitter * getTransmitter();
+ static ::gnu::javax::sound::midi::alsa::AlsaMidiSequencerDevice * instance;
+private:
+ jlong __attribute__((aligned(__alignof__( ::java::lang::Object)))) nativeState;
+ ::javax::sound::midi::Sequence * sequence;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice__
diff --git a/libjava/gnu/javax/sound/midi/alsa/AlsaOutputPortDevice.h b/libjava/gnu/javax/sound/midi/alsa/AlsaOutputPortDevice.h
new file mode 100644
index 000000000..0f7718d92
--- /dev/null
+++ b/libjava/gnu/javax/sound/midi/alsa/AlsaOutputPortDevice.h
@@ -0,0 +1,59 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_sound_midi_alsa_AlsaOutputPortDevice__
+#define __gnu_javax_sound_midi_alsa_AlsaOutputPortDevice__
+
+#pragma interface
+
+#include <gnu/javax/sound/midi/alsa/AlsaPortDevice.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace midi
+ {
+ namespace alsa
+ {
+ class AlsaMidiDeviceProvider$AlsaPortInfo;
+ class AlsaOutputPortDevice;
+ }
+ }
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace midi
+ {
+ class Receiver;
+ class Transmitter;
+ }
+ }
+ }
+}
+
+class gnu::javax::sound::midi::alsa::AlsaOutputPortDevice : public ::gnu::javax::sound::midi::alsa::AlsaPortDevice
+{
+
+public: // actually package-private
+ AlsaOutputPortDevice(::gnu::javax::sound::midi::alsa::AlsaMidiDeviceProvider$AlsaPortInfo *);
+public:
+ virtual void open();
+ virtual void close();
+ virtual jboolean isOpen();
+ virtual jlong getMicrosecondPosition();
+ virtual jint getMaxReceivers();
+ virtual jint getMaxTransmitters();
+ virtual ::javax::sound::midi::Receiver * getReceiver();
+ virtual ::javax::sound::midi::Transmitter * getTransmitter();
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_sound_midi_alsa_AlsaOutputPortDevice__
diff --git a/libjava/gnu/javax/sound/midi/alsa/AlsaPortDevice$AlsaReceiver.h b/libjava/gnu/javax/sound/midi/alsa/AlsaPortDevice$AlsaReceiver.h
new file mode 100644
index 000000000..8e23df85e
--- /dev/null
+++ b/libjava/gnu/javax/sound/midi/alsa/AlsaPortDevice$AlsaReceiver.h
@@ -0,0 +1,54 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_sound_midi_alsa_AlsaPortDevice$AlsaReceiver__
+#define __gnu_javax_sound_midi_alsa_AlsaPortDevice$AlsaReceiver__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace midi
+ {
+ namespace alsa
+ {
+ class AlsaPortDevice;
+ class AlsaPortDevice$AlsaReceiver;
+ }
+ }
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace midi
+ {
+ class MidiMessage;
+ }
+ }
+ }
+}
+
+class gnu::javax::sound::midi::alsa::AlsaPortDevice$AlsaReceiver : public ::java::lang::Object
+{
+
+public:
+ AlsaPortDevice$AlsaReceiver(::gnu::javax::sound::midi::alsa::AlsaPortDevice *);
+ virtual void send(::javax::sound::midi::MidiMessage *, jlong);
+ virtual void close();
+public: // actually package-private
+ ::gnu::javax::sound::midi::alsa::AlsaPortDevice * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_sound_midi_alsa_AlsaPortDevice$AlsaReceiver__
diff --git a/libjava/gnu/javax/sound/midi/alsa/AlsaPortDevice$AlsaTransmitter.h b/libjava/gnu/javax/sound/midi/alsa/AlsaPortDevice$AlsaTransmitter.h
new file mode 100644
index 000000000..f88cadcf1
--- /dev/null
+++ b/libjava/gnu/javax/sound/midi/alsa/AlsaPortDevice$AlsaTransmitter.h
@@ -0,0 +1,59 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_sound_midi_alsa_AlsaPortDevice$AlsaTransmitter__
+#define __gnu_javax_sound_midi_alsa_AlsaPortDevice$AlsaTransmitter__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace midi
+ {
+ namespace alsa
+ {
+ class AlsaPortDevice;
+ class AlsaPortDevice$AlsaTransmitter;
+ }
+ }
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace midi
+ {
+ class Receiver;
+ }
+ }
+ }
+}
+
+class gnu::javax::sound::midi::alsa::AlsaPortDevice$AlsaTransmitter : public ::java::lang::Object
+{
+
+public: // actually protected
+ AlsaPortDevice$AlsaTransmitter(::gnu::javax::sound::midi::alsa::AlsaPortDevice *);
+public:
+ virtual void run();
+ virtual void setReceiver(::javax::sound::midi::Receiver *);
+ virtual ::javax::sound::midi::Receiver * getReceiver();
+ virtual void close();
+private:
+ ::javax::sound::midi::Receiver * __attribute__((aligned(__alignof__( ::java::lang::Object)))) receiver;
+public: // actually package-private
+ ::gnu::javax::sound::midi::alsa::AlsaPortDevice * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_sound_midi_alsa_AlsaPortDevice$AlsaTransmitter__
diff --git a/libjava/gnu/javax/sound/midi/alsa/AlsaPortDevice.h b/libjava/gnu/javax/sound/midi/alsa/AlsaPortDevice.h
new file mode 100644
index 000000000..351bd7099
--- /dev/null
+++ b/libjava/gnu/javax/sound/midi/alsa/AlsaPortDevice.h
@@ -0,0 +1,66 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_sound_midi_alsa_AlsaPortDevice__
+#define __gnu_javax_sound_midi_alsa_AlsaPortDevice__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace midi
+ {
+ namespace alsa
+ {
+ class AlsaMidiDeviceProvider$AlsaPortInfo;
+ class AlsaPortDevice;
+ }
+ }
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace midi
+ {
+ class MidiDevice$Info;
+ class Receiver;
+ class Transmitter;
+ }
+ }
+ }
+}
+
+class gnu::javax::sound::midi::alsa::AlsaPortDevice : public ::java::lang::Object
+{
+
+public:
+ AlsaPortDevice(::gnu::javax::sound::midi::alsa::AlsaMidiDeviceProvider$AlsaPortInfo *);
+ virtual ::javax::sound::midi::MidiDevice$Info * getDeviceInfo();
+public: // actually package-private
+ virtual void run_receiver_thread_(jlong, jlong, ::javax::sound::midi::Receiver *);
+public:
+ virtual void open() = 0;
+ virtual void close() = 0;
+ virtual jboolean isOpen() = 0;
+ virtual jlong getMicrosecondPosition() = 0;
+ virtual jint getMaxReceivers() = 0;
+ virtual jint getMaxTransmitters() = 0;
+ virtual ::javax::sound::midi::Receiver * getReceiver() = 0;
+ virtual ::javax::sound::midi::Transmitter * getTransmitter() = 0;
+public: // actually package-private
+ ::gnu::javax::sound::midi::alsa::AlsaMidiDeviceProvider$AlsaPortInfo * __attribute__((aligned(__alignof__( ::java::lang::Object)))) info;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_sound_midi_alsa_AlsaPortDevice__
diff --git a/libjava/gnu/javax/sound/midi/dssi/DSSIMidiDeviceProvider$1.h b/libjava/gnu/javax/sound/midi/dssi/DSSIMidiDeviceProvider$1.h
new file mode 100644
index 000000000..e6613c333
--- /dev/null
+++ b/libjava/gnu/javax/sound/midi/dssi/DSSIMidiDeviceProvider$1.h
@@ -0,0 +1,40 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider$1__
+#define __gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider$1__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace midi
+ {
+ namespace dssi
+ {
+ class DSSIMidiDeviceProvider$1;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::sound::midi::dssi::DSSIMidiDeviceProvider$1 : public ::java::lang::Object
+{
+
+public: // actually package-private
+ DSSIMidiDeviceProvider$1();
+public:
+ virtual jboolean accept(::java::io::File *, ::java::lang::String *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider$1__
diff --git a/libjava/gnu/javax/sound/midi/dssi/DSSIMidiDeviceProvider$DSSIInfo.h b/libjava/gnu/javax/sound/midi/dssi/DSSIMidiDeviceProvider$DSSIInfo.h
new file mode 100644
index 000000000..a5f7a82ed
--- /dev/null
+++ b/libjava/gnu/javax/sound/midi/dssi/DSSIMidiDeviceProvider$DSSIInfo.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider$DSSIInfo__
+#define __gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider$DSSIInfo__
+
+#pragma interface
+
+#include <javax/sound/midi/MidiDevice$Info.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace midi
+ {
+ namespace dssi
+ {
+ class DSSIMidiDeviceProvider$DSSIInfo;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::sound::midi::dssi::DSSIMidiDeviceProvider$DSSIInfo : public ::javax::sound::midi::MidiDevice$Info
+{
+
+public:
+ DSSIMidiDeviceProvider$DSSIInfo(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, jlong);
+public: // actually package-private
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::javax::sound::midi::MidiDevice$Info)))) soname;
+ jlong index;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider$DSSIInfo__
diff --git a/libjava/gnu/javax/sound/midi/dssi/DSSIMidiDeviceProvider.h b/libjava/gnu/javax/sound/midi/dssi/DSSIMidiDeviceProvider.h
new file mode 100644
index 000000000..3cf346a3f
--- /dev/null
+++ b/libjava/gnu/javax/sound/midi/dssi/DSSIMidiDeviceProvider.h
@@ -0,0 +1,67 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider__
+#define __gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider__
+
+#pragma interface
+
+#include <javax/sound/midi/spi/MidiDeviceProvider.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace midi
+ {
+ namespace dssi
+ {
+ class DSSIMidiDeviceProvider;
+ class DSSIMidiDeviceProvider$DSSIInfo;
+ }
+ }
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace midi
+ {
+ class MidiDevice;
+ class MidiDevice$Info;
+ }
+ }
+ }
+}
+
+class gnu::javax::sound::midi::dssi::DSSIMidiDeviceProvider : public ::javax::sound::midi::spi::MidiDeviceProvider
+{
+
+public: // actually package-private
+ static jlong dlopen_(::java::lang::String *);
+ static void dlclose_(jlong);
+ static jlong getDSSIHandle_(jlong, jlong);
+ static ::java::lang::String * getDSSIName_(jlong);
+ static ::java::lang::String * getDSSICopyright_(jlong);
+ static ::java::lang::String * getDSSIVendor_(jlong);
+ static ::java::lang::String * getDSSILabel_(jlong);
+private:
+ static ::java::util::List * examineLibrary(::java::lang::String *);
+public:
+ DSSIMidiDeviceProvider();
+ virtual JArray< ::javax::sound::midi::MidiDevice$Info * > * getDeviceInfo();
+ virtual ::javax::sound::midi::MidiDevice * getDevice(::javax::sound::midi::MidiDevice$Info *);
+private:
+ static JArray< ::gnu::javax::sound::midi::dssi::DSSIMidiDeviceProvider$DSSIInfo * > * infos;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider__
diff --git a/libjava/gnu/javax/sound/midi/dssi/DSSISynthesizer$DSSIInstrument.h b/libjava/gnu/javax/sound/midi/dssi/DSSISynthesizer$DSSIInstrument.h
new file mode 100644
index 000000000..48167354b
--- /dev/null
+++ b/libjava/gnu/javax/sound/midi/dssi/DSSISynthesizer$DSSIInstrument.h
@@ -0,0 +1,55 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_sound_midi_dssi_DSSISynthesizer$DSSIInstrument__
+#define __gnu_javax_sound_midi_dssi_DSSISynthesizer$DSSIInstrument__
+
+#pragma interface
+
+#include <javax/sound/midi/Instrument.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace midi
+ {
+ namespace dssi
+ {
+ class DSSISynthesizer;
+ class DSSISynthesizer$DSSIInstrument;
+ }
+ }
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace midi
+ {
+ class Patch;
+ class Soundbank;
+ }
+ }
+ }
+}
+
+class gnu::javax::sound::midi::dssi::DSSISynthesizer$DSSIInstrument : public ::javax::sound::midi::Instrument
+{
+
+public: // actually package-private
+ DSSISynthesizer$DSSIInstrument(::gnu::javax::sound::midi::dssi::DSSISynthesizer *, ::javax::sound::midi::Soundbank *, ::javax::sound::midi::Patch *, ::java::lang::String *);
+public:
+ virtual ::java::lang::Object * getData();
+public: // actually package-private
+ ::gnu::javax::sound::midi::dssi::DSSISynthesizer * __attribute__((aligned(__alignof__( ::javax::sound::midi::Instrument)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_sound_midi_dssi_DSSISynthesizer$DSSIInstrument__
diff --git a/libjava/gnu/javax/sound/midi/dssi/DSSISynthesizer$DSSIMidiChannel.h b/libjava/gnu/javax/sound/midi/dssi/DSSISynthesizer$DSSIMidiChannel.h
new file mode 100644
index 000000000..733eb3857
--- /dev/null
+++ b/libjava/gnu/javax/sound/midi/dssi/DSSISynthesizer$DSSIMidiChannel.h
@@ -0,0 +1,69 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_sound_midi_dssi_DSSISynthesizer$DSSIMidiChannel__
+#define __gnu_javax_sound_midi_dssi_DSSISynthesizer$DSSIMidiChannel__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace midi
+ {
+ namespace dssi
+ {
+ class DSSISynthesizer;
+ class DSSISynthesizer$DSSIMidiChannel;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::sound::midi::dssi::DSSISynthesizer$DSSIMidiChannel : public ::java::lang::Object
+{
+
+public:
+ DSSISynthesizer$DSSIMidiChannel(::gnu::javax::sound::midi::dssi::DSSISynthesizer *, jint);
+ virtual void noteOn(jint, jint);
+ virtual void noteOff(jint, jint);
+ virtual void noteOff(jint);
+ virtual void setPolyPressure(jint, jint);
+ virtual jint getPolyPressure(jint);
+ virtual void setChannelPressure(jint);
+ virtual jint getChannelPressure();
+ virtual void controlChange(jint, jint);
+ virtual jint getController(jint);
+ virtual void programChange(jint);
+ virtual void programChange(jint, jint);
+ virtual jint getProgram();
+ virtual void setPitchBend(jint);
+ virtual jint getPitchBend();
+ virtual void resetAllControllers();
+ virtual void allNotesOff();
+ virtual void allSoundOff();
+ virtual jboolean localControl(jboolean);
+ virtual void setMono(jboolean);
+ virtual jboolean getMono();
+ virtual void setOmni(jboolean);
+ virtual jboolean getOmni();
+ virtual void setMute(jboolean);
+ virtual jboolean getMute();
+ virtual void setSolo(jboolean);
+ virtual jboolean getSolo();
+public: // actually package-private
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) channel;
+ ::gnu::javax::sound::midi::dssi::DSSISynthesizer * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_sound_midi_dssi_DSSISynthesizer$DSSIMidiChannel__
diff --git a/libjava/gnu/javax/sound/midi/dssi/DSSISynthesizer$DSSIReceiver.h b/libjava/gnu/javax/sound/midi/dssi/DSSISynthesizer$DSSIReceiver.h
new file mode 100644
index 000000000..dbdd3284f
--- /dev/null
+++ b/libjava/gnu/javax/sound/midi/dssi/DSSISynthesizer$DSSIReceiver.h
@@ -0,0 +1,55 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_sound_midi_dssi_DSSISynthesizer$DSSIReceiver__
+#define __gnu_javax_sound_midi_dssi_DSSISynthesizer$DSSIReceiver__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace midi
+ {
+ namespace dssi
+ {
+ class DSSISynthesizer;
+ class DSSISynthesizer$DSSIReceiver;
+ }
+ }
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace midi
+ {
+ class MidiMessage;
+ }
+ }
+ }
+}
+
+class gnu::javax::sound::midi::dssi::DSSISynthesizer$DSSIReceiver : public ::java::lang::Object
+{
+
+public: // actually package-private
+ DSSISynthesizer$DSSIReceiver(::gnu::javax::sound::midi::dssi::DSSISynthesizer *);
+public:
+ virtual void send(::javax::sound::midi::MidiMessage *, jlong);
+ virtual void close();
+public: // actually package-private
+ ::gnu::javax::sound::midi::dssi::DSSISynthesizer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_sound_midi_dssi_DSSISynthesizer$DSSIReceiver__
diff --git a/libjava/gnu/javax/sound/midi/dssi/DSSISynthesizer$DSSISoundbank.h b/libjava/gnu/javax/sound/midi/dssi/DSSISynthesizer$DSSISoundbank.h
new file mode 100644
index 000000000..4ebaffbe3
--- /dev/null
+++ b/libjava/gnu/javax/sound/midi/dssi/DSSISynthesizer$DSSISoundbank.h
@@ -0,0 +1,73 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_sound_midi_dssi_DSSISynthesizer$DSSISoundbank__
+#define __gnu_javax_sound_midi_dssi_DSSISynthesizer$DSSISoundbank__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace midi
+ {
+ namespace dssi
+ {
+ class DSSISynthesizer;
+ class DSSISynthesizer$DSSISoundbank;
+ }
+ }
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace midi
+ {
+ class Instrument;
+ class Patch;
+ class SoundbankResource;
+ }
+ }
+ }
+}
+
+class gnu::javax::sound::midi::dssi::DSSISynthesizer$DSSISoundbank : public ::java::lang::Object
+{
+
+public:
+ DSSISynthesizer$DSSISoundbank(::gnu::javax::sound::midi::dssi::DSSISynthesizer *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
+public: // actually package-private
+ virtual void add(::javax::sound::midi::Instrument *);
+public:
+ virtual ::java::lang::String * getName();
+ virtual ::java::lang::String * getVersion();
+ virtual ::java::lang::String * getVendor();
+ virtual ::java::lang::String * getDescription();
+ virtual JArray< ::javax::sound::midi::SoundbankResource * > * getResources();
+ virtual JArray< ::javax::sound::midi::Instrument * > * getInstruments();
+ virtual ::javax::sound::midi::Instrument * getInstrument(::javax::sound::midi::Patch *);
+private:
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name;
+ ::java::lang::String * description;
+ ::java::util::List * instruments;
+ ::java::util::List * resources;
+ ::java::lang::String * vendor;
+ ::java::lang::String * version;
+public: // actually package-private
+ ::gnu::javax::sound::midi::dssi::DSSISynthesizer * this$0;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_sound_midi_dssi_DSSISynthesizer$DSSISoundbank__
diff --git a/libjava/gnu/javax/sound/midi/dssi/DSSISynthesizer.h b/libjava/gnu/javax/sound/midi/dssi/DSSISynthesizer.h
new file mode 100644
index 000000000..c4d4a619c
--- /dev/null
+++ b/libjava/gnu/javax/sound/midi/dssi/DSSISynthesizer.h
@@ -0,0 +1,104 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_sound_midi_dssi_DSSISynthesizer__
+#define __gnu_javax_sound_midi_dssi_DSSISynthesizer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace midi
+ {
+ namespace dssi
+ {
+ class DSSISynthesizer;
+ class DSSISynthesizer$DSSISoundbank;
+ }
+ }
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace midi
+ {
+ class Instrument;
+ class MidiChannel;
+ class MidiDevice$Info;
+ class Patch;
+ class Receiver;
+ class Soundbank;
+ class Transmitter;
+ class VoiceStatus;
+ }
+ }
+ }
+}
+
+class gnu::javax::sound::midi::dssi::DSSISynthesizer : public ::java::lang::Object
+{
+
+public: // actually package-private
+ static void noteOn_(jlong, jint, jint, jint);
+ static void noteOff_(jlong, jint, jint, jint);
+ static void setPolyPressure_(jlong, jint, jint, jint);
+ static jint getPolyPressure_(jlong, jint, jint);
+ static void controlChange_(jlong, jint, jint, jint);
+ static void open_(jlong);
+ static void close_(jlong);
+ static ::java::lang::String * getProgramName_(jlong, jint);
+ static jint getProgramBank_(jlong, jint);
+ static jint getProgramProgram_(jlong, jint);
+ static void selectProgram_(jlong, jint, jint);
+public:
+ DSSISynthesizer(::javax::sound::midi::MidiDevice$Info *, ::java::lang::String *, jlong);
+ virtual jint getMaxPolyphony();
+ virtual jlong getLatency();
+ virtual JArray< ::javax::sound::midi::MidiChannel * > * getChannels();
+ virtual JArray< ::javax::sound::midi::VoiceStatus * > * getVoiceStatus();
+ virtual jboolean isSoundbankSupported(::javax::sound::midi::Soundbank *);
+ virtual jboolean loadInstrument(::javax::sound::midi::Instrument *);
+ virtual void unloadInstrument(::javax::sound::midi::Instrument *);
+ virtual jboolean remapInstrument(::javax::sound::midi::Instrument *, ::javax::sound::midi::Instrument *);
+ virtual ::javax::sound::midi::Soundbank * getDefaultSoundbank();
+ virtual JArray< ::javax::sound::midi::Instrument * > * getAvailableInstruments();
+ virtual JArray< ::javax::sound::midi::Instrument * > * getLoadedInstruments();
+ virtual jboolean loadAllInstruments(::javax::sound::midi::Soundbank *);
+ virtual void unloadAllInstruments(::javax::sound::midi::Soundbank *);
+ virtual jboolean loadInstruments(::javax::sound::midi::Soundbank *, JArray< ::javax::sound::midi::Patch * > *);
+ virtual void unloadInstruments(::javax::sound::midi::Soundbank *, JArray< ::javax::sound::midi::Patch * > *);
+ virtual ::javax::sound::midi::MidiDevice$Info * getDeviceInfo();
+ virtual void open();
+ virtual void close();
+ virtual jboolean isOpen();
+ virtual jlong getMicrosecondPosition();
+ virtual jint getMaxReceivers();
+ virtual jint getMaxTransmitters();
+ virtual ::javax::sound::midi::Receiver * getReceiver();
+ virtual ::javax::sound::midi::Transmitter * getTransmitter();
+public: // actually package-private
+ jlong __attribute__((aligned(__alignof__( ::java::lang::Object)))) sohandle;
+ jlong handle;
+private:
+ ::javax::sound::midi::MidiDevice$Info * info;
+public: // actually package-private
+ JArray< ::javax::sound::midi::MidiChannel * > * channels;
+ ::java::util::List * soundbanks;
+ ::gnu::javax::sound::midi::dssi::DSSISynthesizer$DSSISoundbank * defaultSoundbank;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_sound_midi_dssi_DSSISynthesizer__
diff --git a/libjava/gnu/javax/sound/midi/file/ExtendedMidiFileFormat.h b/libjava/gnu/javax/sound/midi/file/ExtendedMidiFileFormat.h
new file mode 100644
index 000000000..70a8a4c2e
--- /dev/null
+++ b/libjava/gnu/javax/sound/midi/file/ExtendedMidiFileFormat.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_sound_midi_file_ExtendedMidiFileFormat__
+#define __gnu_javax_sound_midi_file_ExtendedMidiFileFormat__
+
+#pragma interface
+
+#include <javax/sound/midi/MidiFileFormat.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace midi
+ {
+ namespace file
+ {
+ class ExtendedMidiFileFormat;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::sound::midi::file::ExtendedMidiFileFormat : public ::javax::sound::midi::MidiFileFormat
+{
+
+public:
+ virtual jint getNumberTracks();
+ ExtendedMidiFileFormat(jint, jfloat, jint, jint, jlong, jint);
+private:
+ jint __attribute__((aligned(__alignof__( ::javax::sound::midi::MidiFileFormat)))) ntracks;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_sound_midi_file_ExtendedMidiFileFormat__
diff --git a/libjava/gnu/javax/sound/midi/file/MidiDataInputStream.h b/libjava/gnu/javax/sound/midi/file/MidiDataInputStream.h
new file mode 100644
index 000000000..00d247284
--- /dev/null
+++ b/libjava/gnu/javax/sound/midi/file/MidiDataInputStream.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_sound_midi_file_MidiDataInputStream__
+#define __gnu_javax_sound_midi_file_MidiDataInputStream__
+
+#pragma interface
+
+#include <java/io/DataInputStream.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace midi
+ {
+ namespace file
+ {
+ class MidiDataInputStream;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::sound::midi::file::MidiDataInputStream : public ::java::io::DataInputStream
+{
+
+public:
+ MidiDataInputStream(::java::io::InputStream *);
+ virtual jint readVariableLengthInt();
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_sound_midi_file_MidiDataInputStream__
diff --git a/libjava/gnu/javax/sound/midi/file/MidiDataOutputStream.h b/libjava/gnu/javax/sound/midi/file/MidiDataOutputStream.h
new file mode 100644
index 000000000..70718fc2a
--- /dev/null
+++ b/libjava/gnu/javax/sound/midi/file/MidiDataOutputStream.h
@@ -0,0 +1,40 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_sound_midi_file_MidiDataOutputStream__
+#define __gnu_javax_sound_midi_file_MidiDataOutputStream__
+
+#pragma interface
+
+#include <java/io/DataOutputStream.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace midi
+ {
+ namespace file
+ {
+ class MidiDataOutputStream;
+ }
+ }
+ }
+ }
+ }
+}
+
+class gnu::javax::sound::midi::file::MidiDataOutputStream : public ::java::io::DataOutputStream
+{
+
+public:
+ MidiDataOutputStream(::java::io::OutputStream *);
+ virtual jint variableLengthIntLength(jint);
+ virtual void writeVariableLengthInt(jint);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_sound_midi_file_MidiDataOutputStream__
diff --git a/libjava/gnu/javax/sound/midi/file/MidiFileReader.h b/libjava/gnu/javax/sound/midi/file/MidiFileReader.h
new file mode 100644
index 000000000..823ead637
--- /dev/null
+++ b/libjava/gnu/javax/sound/midi/file/MidiFileReader.h
@@ -0,0 +1,62 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_sound_midi_file_MidiFileReader__
+#define __gnu_javax_sound_midi_file_MidiFileReader__
+
+#pragma interface
+
+#include <javax/sound/midi/spi/MidiFileReader.h>
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace midi
+ {
+ namespace file
+ {
+ class MidiFileReader;
+ }
+ }
+ }
+ }
+ }
+ namespace java
+ {
+ namespace net
+ {
+ class URL;
+ }
+ }
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace midi
+ {
+ class MidiFileFormat;
+ class Sequence;
+ }
+ }
+ }
+}
+
+class gnu::javax::sound::midi::file::MidiFileReader : public ::javax::sound::midi::spi::MidiFileReader
+{
+
+public:
+ MidiFileReader();
+ virtual ::javax::sound::midi::MidiFileFormat * getMidiFileFormat(::java::io::InputStream *);
+ virtual ::javax::sound::midi::MidiFileFormat * getMidiFileFormat(::java::net::URL *);
+ virtual ::javax::sound::midi::MidiFileFormat * getMidiFileFormat(::java::io::File *);
+ virtual ::javax::sound::midi::Sequence * getSequence(::java::io::InputStream *);
+ virtual ::javax::sound::midi::Sequence * getSequence(::java::net::URL *);
+ virtual ::javax::sound::midi::Sequence * getSequence(::java::io::File *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_sound_midi_file_MidiFileReader__
diff --git a/libjava/gnu/javax/sound/midi/file/MidiFileWriter.h b/libjava/gnu/javax/sound/midi/file/MidiFileWriter.h
new file mode 100644
index 000000000..15518ac73
--- /dev/null
+++ b/libjava/gnu/javax/sound/midi/file/MidiFileWriter.h
@@ -0,0 +1,60 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __gnu_javax_sound_midi_file_MidiFileWriter__
+#define __gnu_javax_sound_midi_file_MidiFileWriter__
+
+#pragma interface
+
+#include <javax/sound/midi/spi/MidiFileWriter.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace gnu
+ {
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace midi
+ {
+ namespace file
+ {
+ class MidiDataOutputStream;
+ class MidiFileWriter;
+ }
+ }
+ }
+ }
+ }
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace midi
+ {
+ class Sequence;
+ class Track;
+ }
+ }
+ }
+}
+
+class gnu::javax::sound::midi::file::MidiFileWriter : public ::javax::sound::midi::spi::MidiFileWriter
+{
+
+public:
+ MidiFileWriter();
+ virtual JArray< jint > * getMidiFileTypes();
+ virtual JArray< jint > * getMidiFileTypes(::javax::sound::midi::Sequence *);
+ virtual jint write(::javax::sound::midi::Sequence *, jint, ::java::io::OutputStream *);
+private:
+ jint computeTrackLength(::javax::sound::midi::Track *, ::gnu::javax::sound::midi::file::MidiDataOutputStream *);
+ jint writeTrack(::javax::sound::midi::Track *, ::gnu::javax::sound::midi::file::MidiDataOutputStream *);
+public:
+ virtual jint write(::javax::sound::midi::Sequence *, jint, ::java::io::File *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __gnu_javax_sound_midi_file_MidiFileWriter__