diff options
Diffstat (limited to 'libjava/javax/sound/midi')
30 files changed, 1387 insertions, 0 deletions
diff --git a/libjava/javax/sound/midi/ControllerEventListener.h b/libjava/javax/sound/midi/ControllerEventListener.h new file mode 100644 index 000000000..f33523190 --- /dev/null +++ b/libjava/javax/sound/midi/ControllerEventListener.h @@ -0,0 +1,33 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_sound_midi_ControllerEventListener__ +#define __javax_sound_midi_ControllerEventListener__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace sound + { + namespace midi + { + class ControllerEventListener; + class ShortMessage; + } + } + } +} + +class javax::sound::midi::ControllerEventListener : public ::java::lang::Object +{ + +public: + virtual void controlChange(::javax::sound::midi::ShortMessage *) = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_sound_midi_ControllerEventListener__ diff --git a/libjava/javax/sound/midi/Instrument.h b/libjava/javax/sound/midi/Instrument.h new file mode 100644 index 000000000..9f895a57f --- /dev/null +++ b/libjava/javax/sound/midi/Instrument.h @@ -0,0 +1,39 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_sound_midi_Instrument__ +#define __javax_sound_midi_Instrument__ + +#pragma interface + +#include <javax/sound/midi/SoundbankResource.h> +extern "Java" +{ + namespace javax + { + namespace sound + { + namespace midi + { + class Instrument; + class Patch; + class Soundbank; + } + } + } +} + +class javax::sound::midi::Instrument : public ::javax::sound::midi::SoundbankResource +{ + +public: // actually protected + Instrument(::javax::sound::midi::Soundbank *, ::javax::sound::midi::Patch *, ::java::lang::String *, ::java::lang::Class *); +public: + virtual ::javax::sound::midi::Patch * getPatch(); +private: + ::javax::sound::midi::Patch * __attribute__((aligned(__alignof__( ::javax::sound::midi::SoundbankResource)))) patch; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_sound_midi_Instrument__ diff --git a/libjava/javax/sound/midi/InvalidMidiDataException.h b/libjava/javax/sound/midi/InvalidMidiDataException.h new file mode 100644 index 000000000..c66b0816f --- /dev/null +++ b/libjava/javax/sound/midi/InvalidMidiDataException.h @@ -0,0 +1,36 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_sound_midi_InvalidMidiDataException__ +#define __javax_sound_midi_InvalidMidiDataException__ + +#pragma interface + +#include <java/lang/Exception.h> +extern "Java" +{ + namespace javax + { + namespace sound + { + namespace midi + { + class InvalidMidiDataException; + } + } + } +} + +class javax::sound::midi::InvalidMidiDataException : public ::java::lang::Exception +{ + +public: + InvalidMidiDataException(); + InvalidMidiDataException(::java::lang::String *); +private: + static const jlong serialVersionUID = 2780771756789932067LL; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_sound_midi_InvalidMidiDataException__ diff --git a/libjava/javax/sound/midi/MetaEventListener.h b/libjava/javax/sound/midi/MetaEventListener.h new file mode 100644 index 000000000..ccbed891b --- /dev/null +++ b/libjava/javax/sound/midi/MetaEventListener.h @@ -0,0 +1,33 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_sound_midi_MetaEventListener__ +#define __javax_sound_midi_MetaEventListener__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace sound + { + namespace midi + { + class MetaEventListener; + class MetaMessage; + } + } + } +} + +class javax::sound::midi::MetaEventListener : public ::java::lang::Object +{ + +public: + virtual void meta(::javax::sound::midi::MetaMessage *) = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_sound_midi_MetaEventListener__ diff --git a/libjava/javax/sound/midi/MetaMessage.h b/libjava/javax/sound/midi/MetaMessage.h new file mode 100644 index 000000000..a50e3b228 --- /dev/null +++ b/libjava/javax/sound/midi/MetaMessage.h @@ -0,0 +1,45 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_sound_midi_MetaMessage__ +#define __javax_sound_midi_MetaMessage__ + +#pragma interface + +#include <javax/sound/midi/MidiMessage.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace sound + { + namespace midi + { + class MetaMessage; + } + } + } +} + +class javax::sound::midi::MetaMessage : public ::javax::sound::midi::MidiMessage +{ + +public: + MetaMessage(); +public: // actually protected + MetaMessage(JArray< jbyte > *); +public: + virtual void setMessage(jint, JArray< jbyte > *, jint); + virtual jint getType(); + virtual JArray< jbyte > * getData(); + virtual ::java::lang::Object * clone(); + static const jint META = 255; +private: + jint __attribute__((aligned(__alignof__( ::javax::sound::midi::MidiMessage)))) lengthLength; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_sound_midi_MetaMessage__ diff --git a/libjava/javax/sound/midi/MidiChannel.h b/libjava/javax/sound/midi/MidiChannel.h new file mode 100644 index 000000000..4d348d2f7 --- /dev/null +++ b/libjava/javax/sound/midi/MidiChannel.h @@ -0,0 +1,57 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_sound_midi_MidiChannel__ +#define __javax_sound_midi_MidiChannel__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace sound + { + namespace midi + { + class MidiChannel; + } + } + } +} + +class javax::sound::midi::MidiChannel : public ::java::lang::Object +{ + +public: + virtual void noteOn(jint, jint) = 0; + virtual void noteOff(jint, jint) = 0; + virtual void noteOff(jint) = 0; + virtual void setPolyPressure(jint, jint) = 0; + virtual jint getPolyPressure(jint) = 0; + virtual void setChannelPressure(jint) = 0; + virtual jint getChannelPressure() = 0; + virtual void controlChange(jint, jint) = 0; + virtual jint getController(jint) = 0; + virtual void programChange(jint) = 0; + virtual void programChange(jint, jint) = 0; + virtual jint getProgram() = 0; + virtual void setPitchBend(jint) = 0; + virtual jint getPitchBend() = 0; + virtual void resetAllControllers() = 0; + virtual void allNotesOff() = 0; + virtual void allSoundOff() = 0; + virtual jboolean localControl(jboolean) = 0; + virtual void setMono(jboolean) = 0; + virtual jboolean getMono() = 0; + virtual void setOmni(jboolean) = 0; + virtual jboolean getOmni() = 0; + virtual void setMute(jboolean) = 0; + virtual jboolean getMute() = 0; + virtual void setSolo(jboolean) = 0; + virtual jboolean getSolo() = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_sound_midi_MidiChannel__ diff --git a/libjava/javax/sound/midi/MidiDevice$Info.h b/libjava/javax/sound/midi/MidiDevice$Info.h new file mode 100644 index 000000000..02b9c42f6 --- /dev/null +++ b/libjava/javax/sound/midi/MidiDevice$Info.h @@ -0,0 +1,46 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_sound_midi_MidiDevice$Info__ +#define __javax_sound_midi_MidiDevice$Info__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace sound + { + namespace midi + { + class MidiDevice$Info; + } + } + } +} + +class javax::sound::midi::MidiDevice$Info : public ::java::lang::Object +{ + +public: // actually protected + MidiDevice$Info(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *); +public: + virtual jboolean equals(::java::lang::Object *); + virtual jint hashCode(); + virtual ::java::lang::String * getName(); + virtual ::java::lang::String * getVendor(); + virtual ::java::lang::String * getDescription(); + virtual ::java::lang::String * getVersion(); + virtual ::java::lang::String * toString(); +private: + ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name; + ::java::lang::String * vendor; + ::java::lang::String * description; + ::java::lang::String * version; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_sound_midi_MidiDevice$Info__ diff --git a/libjava/javax/sound/midi/MidiDevice.h b/libjava/javax/sound/midi/MidiDevice.h new file mode 100644 index 000000000..bc952ab10 --- /dev/null +++ b/libjava/javax/sound/midi/MidiDevice.h @@ -0,0 +1,43 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_sound_midi_MidiDevice__ +#define __javax_sound_midi_MidiDevice__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace sound + { + namespace midi + { + class MidiDevice; + class MidiDevice$Info; + class Receiver; + class Transmitter; + } + } + } +} + +class javax::sound::midi::MidiDevice : public ::java::lang::Object +{ + +public: + virtual ::javax::sound::midi::MidiDevice$Info * getDeviceInfo() = 0; + 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; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_sound_midi_MidiDevice__ diff --git a/libjava/javax/sound/midi/MidiEvent.h b/libjava/javax/sound/midi/MidiEvent.h new file mode 100644 index 000000000..ef6dbd0f2 --- /dev/null +++ b/libjava/javax/sound/midi/MidiEvent.h @@ -0,0 +1,40 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_sound_midi_MidiEvent__ +#define __javax_sound_midi_MidiEvent__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace sound + { + namespace midi + { + class MidiEvent; + class MidiMessage; + } + } + } +} + +class javax::sound::midi::MidiEvent : public ::java::lang::Object +{ + +public: + MidiEvent(::javax::sound::midi::MidiMessage *, jlong); + virtual ::javax::sound::midi::MidiMessage * getMessage(); + virtual void setTick(jlong); + virtual jlong getTick(); +private: + ::javax::sound::midi::MidiMessage * __attribute__((aligned(__alignof__( ::java::lang::Object)))) message; + jlong tick; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_sound_midi_MidiEvent__ diff --git a/libjava/javax/sound/midi/MidiFileFormat.h b/libjava/javax/sound/midi/MidiFileFormat.h new file mode 100644 index 000000000..57fab827a --- /dev/null +++ b/libjava/javax/sound/midi/MidiFileFormat.h @@ -0,0 +1,45 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_sound_midi_MidiFileFormat__ +#define __javax_sound_midi_MidiFileFormat__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace sound + { + namespace midi + { + class MidiFileFormat; + } + } + } +} + +class javax::sound::midi::MidiFileFormat : public ::java::lang::Object +{ + +public: + MidiFileFormat(jint, jfloat, jint, jint, jlong); + virtual jint getType(); + virtual jfloat getDivisionType(); + virtual jint getResolution(); + virtual jint getByteLength(); + virtual jlong getMicrosecondLength(); +public: // actually protected + jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) type; + jfloat divisionType; + jint resolution; + jint byteLength; + jlong microsecondLength; +public: + static const jint UNKNOWN_LENGTH = -1; + static ::java::lang::Class class$; +}; + +#endif // __javax_sound_midi_MidiFileFormat__ diff --git a/libjava/javax/sound/midi/MidiMessage.h b/libjava/javax/sound/midi/MidiMessage.h new file mode 100644 index 000000000..bf7e2d217 --- /dev/null +++ b/libjava/javax/sound/midi/MidiMessage.h @@ -0,0 +1,44 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_sound_midi_MidiMessage__ +#define __javax_sound_midi_MidiMessage__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace sound + { + namespace midi + { + class MidiMessage; + } + } + } +} + +class javax::sound::midi::MidiMessage : public ::java::lang::Object +{ + +public: // actually protected + MidiMessage(JArray< jbyte > *); + virtual void setMessage(JArray< jbyte > *, jint); +public: + virtual JArray< jbyte > * getMessage(); + virtual jint getStatus(); + virtual jint getLength(); + virtual ::java::lang::Object * clone() = 0; +public: // actually protected + JArray< jbyte > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) data; + jint length; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_sound_midi_MidiMessage__ diff --git a/libjava/javax/sound/midi/MidiSystem.h b/libjava/javax/sound/midi/MidiSystem.h new file mode 100644 index 000000000..487b9d6de --- /dev/null +++ b/libjava/javax/sound/midi/MidiSystem.h @@ -0,0 +1,71 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_sound_midi_MidiSystem__ +#define __javax_sound_midi_MidiSystem__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace net + { + class URL; + } + } + namespace javax + { + namespace sound + { + namespace midi + { + class MidiDevice; + class MidiDevice$Info; + class MidiFileFormat; + class MidiSystem; + class Receiver; + class Sequence; + class Sequencer; + class Soundbank; + class Synthesizer; + class Transmitter; + } + } + } +} + +class javax::sound::midi::MidiSystem : public ::java::lang::Object +{ + + MidiSystem(); +public: + static JArray< ::javax::sound::midi::MidiDevice$Info * > * getMidiDeviceInfo(); + static ::javax::sound::midi::MidiDevice * getMidiDevice(::javax::sound::midi::MidiDevice$Info *); + static ::javax::sound::midi::Receiver * getReceiver(); + static ::javax::sound::midi::Transmitter * getTransmitter(); + static ::javax::sound::midi::Synthesizer * getSynthesizer(); + static ::javax::sound::midi::Sequencer * getSequencer(); + static ::javax::sound::midi::Soundbank * getSoundbank(::java::io::InputStream *); + static ::javax::sound::midi::Soundbank * getSoundbank(::java::net::URL *); + static ::javax::sound::midi::Soundbank * getSoundbank(::java::io::File *); + static ::javax::sound::midi::MidiFileFormat * getMidiFileFormat(::java::io::InputStream *); + static ::javax::sound::midi::MidiFileFormat * getMidiFileFormat(::java::net::URL *); + static ::javax::sound::midi::MidiFileFormat * getMidiFileFormat(::java::io::File *); + static ::javax::sound::midi::Sequence * getSequence(::java::io::InputStream *); + static ::javax::sound::midi::Sequence * getSequence(::java::net::URL *); + static ::javax::sound::midi::Sequence * getSequence(::java::io::File *); + static JArray< jint > * getMidiFileTypes(); + static jboolean isFileTypeSupported(jint); + static JArray< jint > * getMidiFileTypes(::javax::sound::midi::Sequence *); + static jboolean isFileTypeSupported(jint, ::javax::sound::midi::Sequence *); + static jint write(::javax::sound::midi::Sequence *, jint, ::java::io::OutputStream *); + static jint write(::javax::sound::midi::Sequence *, jint, ::java::io::File *); + static ::java::lang::Class class$; +}; + +#endif // __javax_sound_midi_MidiSystem__ diff --git a/libjava/javax/sound/midi/MidiUnavailableException.h b/libjava/javax/sound/midi/MidiUnavailableException.h new file mode 100644 index 000000000..740496db2 --- /dev/null +++ b/libjava/javax/sound/midi/MidiUnavailableException.h @@ -0,0 +1,36 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_sound_midi_MidiUnavailableException__ +#define __javax_sound_midi_MidiUnavailableException__ + +#pragma interface + +#include <java/lang/Exception.h> +extern "Java" +{ + namespace javax + { + namespace sound + { + namespace midi + { + class MidiUnavailableException; + } + } + } +} + +class javax::sound::midi::MidiUnavailableException : public ::java::lang::Exception +{ + +public: + MidiUnavailableException(); + MidiUnavailableException(::java::lang::String *); +private: + static const jlong serialVersionUID = 6093809578628944323LL; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_sound_midi_MidiUnavailableException__ diff --git a/libjava/javax/sound/midi/Patch.h b/libjava/javax/sound/midi/Patch.h new file mode 100644 index 000000000..fcc9b3186 --- /dev/null +++ b/libjava/javax/sound/midi/Patch.h @@ -0,0 +1,38 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_sound_midi_Patch__ +#define __javax_sound_midi_Patch__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace sound + { + namespace midi + { + class Patch; + } + } + } +} + +class javax::sound::midi::Patch : public ::java::lang::Object +{ + +public: + Patch(jint, jint); + virtual jint getBank(); + virtual jint getProgram(); +private: + jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) bank; + jint program; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_sound_midi_Patch__ diff --git a/libjava/javax/sound/midi/Receiver.h b/libjava/javax/sound/midi/Receiver.h new file mode 100644 index 000000000..b82d06f18 --- /dev/null +++ b/libjava/javax/sound/midi/Receiver.h @@ -0,0 +1,34 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_sound_midi_Receiver__ +#define __javax_sound_midi_Receiver__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace sound + { + namespace midi + { + class MidiMessage; + class Receiver; + } + } + } +} + +class javax::sound::midi::Receiver : public ::java::lang::Object +{ + +public: + virtual void send(::javax::sound::midi::MidiMessage *, jlong) = 0; + virtual void close() = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_sound_midi_Receiver__ diff --git a/libjava/javax/sound/midi/Sequence.h b/libjava/javax/sound/midi/Sequence.h new file mode 100644 index 000000000..0ca6ed711 --- /dev/null +++ b/libjava/javax/sound/midi/Sequence.h @@ -0,0 +1,56 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_sound_midi_Sequence__ +#define __javax_sound_midi_Sequence__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace sound + { + namespace midi + { + class Patch; + class Sequence; + class Track; + } + } + } +} + +class javax::sound::midi::Sequence : public ::java::lang::Object +{ + + void init(jfloat, jint, jint); +public: + Sequence(jfloat, jint); + Sequence(jfloat, jint, jint); + virtual jfloat getDivisionType(); + virtual jint getResolution(); + virtual ::javax::sound::midi::Track * createTrack(); + virtual jboolean deleteTrack(::javax::sound::midi::Track *); + virtual JArray< ::javax::sound::midi::Track * > * getTracks(); + virtual jlong getMicrosecondLength(); + virtual jlong getTickLength(); + virtual JArray< ::javax::sound::midi::Patch * > * getPatchList(); +public: // actually protected + jfloat __attribute__((aligned(__alignof__( ::java::lang::Object)))) divisionType; + jint resolution; + ::java::util::Vector * tracks; +public: + static jfloat PPQ; + static jfloat SMPTE_24; + static jfloat SMPTE_25; + static jfloat SMPTE_30; + static jfloat SMPTE_30DROP; + static ::java::lang::Class class$; +}; + +#endif // __javax_sound_midi_Sequence__ diff --git a/libjava/javax/sound/midi/Sequencer$SyncMode.h b/libjava/javax/sound/midi/Sequencer$SyncMode.h new file mode 100644 index 000000000..70944db8b --- /dev/null +++ b/libjava/javax/sound/midi/Sequencer$SyncMode.h @@ -0,0 +1,43 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_sound_midi_Sequencer$SyncMode__ +#define __javax_sound_midi_Sequencer$SyncMode__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace sound + { + namespace midi + { + class Sequencer$SyncMode; + } + } + } +} + +class javax::sound::midi::Sequencer$SyncMode : public ::java::lang::Object +{ + +public: // actually protected + Sequencer$SyncMode(::java::lang::String *); +public: + virtual jboolean equals(::java::lang::Object *); + virtual jint hashCode(); + virtual ::java::lang::String * toString(); + static ::javax::sound::midi::Sequencer$SyncMode * INTERNAL_CLOCK; + static ::javax::sound::midi::Sequencer$SyncMode * MIDI_SYNC; + static ::javax::sound::midi::Sequencer$SyncMode * MIDI_TIME_CODE; + static ::javax::sound::midi::Sequencer$SyncMode * NO_SYNC; +private: + ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_sound_midi_Sequencer$SyncMode__ diff --git a/libjava/javax/sound/midi/Sequencer.h b/libjava/javax/sound/midi/Sequencer.h new file mode 100644 index 000000000..453634e41 --- /dev/null +++ b/libjava/javax/sound/midi/Sequencer.h @@ -0,0 +1,86 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_sound_midi_Sequencer__ +#define __javax_sound_midi_Sequencer__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace sound + { + namespace midi + { + class ControllerEventListener; + class MetaEventListener; + class MidiDevice$Info; + class Receiver; + class Sequence; + class Sequencer; + class Sequencer$SyncMode; + class Track; + class Transmitter; + } + } + } +} + +class javax::sound::midi::Sequencer : public ::java::lang::Object +{ + +public: + virtual void setSequence(::javax::sound::midi::Sequence *) = 0; + virtual void setSequence(::java::io::InputStream *) = 0; + virtual ::javax::sound::midi::Sequence * getSequence() = 0; + virtual void start() = 0; + virtual void stop() = 0; + virtual jboolean isRunning() = 0; + virtual void startRecording() = 0; + virtual void stopRecording() = 0; + virtual jboolean isRecording() = 0; + virtual void recordEnable(::javax::sound::midi::Track *, jint) = 0; + virtual void recordDisable(::javax::sound::midi::Track *) = 0; + virtual jfloat getTempoInBPM() = 0; + virtual void setTempoInBPM(jfloat) = 0; + virtual jfloat getTempoInMPQ() = 0; + virtual void setTempoInMPQ(jfloat) = 0; + virtual void setTempoFactor(jfloat) = 0; + virtual jfloat getTempoFactor() = 0; + virtual jlong getTickLength() = 0; + virtual jlong getTickPosition() = 0; + virtual void setTickPosition(jlong) = 0; + virtual jlong getMicrosecondLength() = 0; + virtual jlong getMicrosecondPosition() = 0; + virtual void setMicrosecondPosition(jlong) = 0; + virtual void setMasterSyncMode(::javax::sound::midi::Sequencer$SyncMode *) = 0; + virtual ::javax::sound::midi::Sequencer$SyncMode * getMasterSyncMode() = 0; + virtual JArray< ::javax::sound::midi::Sequencer$SyncMode * > * getMasterSyncModes() = 0; + virtual void setSlaveSyncMode(::javax::sound::midi::Sequencer$SyncMode *) = 0; + virtual ::javax::sound::midi::Sequencer$SyncMode * getSlaveSyncMode() = 0; + virtual JArray< ::javax::sound::midi::Sequencer$SyncMode * > * getSlaveSyncModes() = 0; + virtual void setTrackMute(jint, jboolean) = 0; + virtual jboolean getTrackMute(jint) = 0; + virtual void setTrackSolo(jint, jboolean) = 0; + virtual jboolean getTrackSolo(jint) = 0; + virtual jboolean addMetaEventListener(::javax::sound::midi::MetaEventListener *) = 0; + virtual void removeMetaEventListener(::javax::sound::midi::MetaEventListener *) = 0; + virtual JArray< jint > * addControllerEventListener(::javax::sound::midi::ControllerEventListener *, JArray< jint > *) = 0; + virtual JArray< jint > * removeControllerEventListener(::javax::sound::midi::ControllerEventListener *, JArray< jint > *) = 0; + virtual ::javax::sound::midi::MidiDevice$Info * getDeviceInfo() = 0; + virtual void open() = 0; + virtual void close() = 0; + virtual jboolean isOpen() = 0; + virtual jint getMaxReceivers() = 0; + virtual jint getMaxTransmitters() = 0; + virtual ::javax::sound::midi::Receiver * getReceiver() = 0; + virtual ::javax::sound::midi::Transmitter * getTransmitter() = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_sound_midi_Sequencer__ diff --git a/libjava/javax/sound/midi/ShortMessage.h b/libjava/javax/sound/midi/ShortMessage.h new file mode 100644 index 000000000..7a5872cd8 --- /dev/null +++ b/libjava/javax/sound/midi/ShortMessage.h @@ -0,0 +1,69 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_sound_midi_ShortMessage__ +#define __javax_sound_midi_ShortMessage__ + +#pragma interface + +#include <javax/sound/midi/MidiMessage.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace sound + { + namespace midi + { + class ShortMessage; + } + } + } +} + +class javax::sound::midi::ShortMessage : public ::javax::sound::midi::MidiMessage +{ + +public: + ShortMessage(); +public: // actually protected + ShortMessage(JArray< jbyte > *); +public: + virtual void setMessage(jint, jint, jint); + virtual void setMessage(jint, jint, jint, jint); + virtual void setMessage(jint); +public: // actually protected + virtual jint getDataLength(jint); +public: + virtual jint getChannel(); + virtual jint getCommand(); + virtual jint getData1(); + virtual jint getData2(); + virtual ::java::lang::Object * clone(); + static const jint MIDI_TIME_CODE = 241; + static const jint SONG_POSITION_POINTER = 242; + static const jint SONG_SELECT = 243; + static const jint TUNE_REQUEST = 246; + static const jint END_OF_EXCLUSIVE = 247; + static const jint TIMING_CLOCK = 248; + static const jint START = 250; + static const jint CONTINUE = 251; + static const jint STOP = 252; + static const jint ACTIVE_SENSING = 254; + static const jint SYSTEM_RESET = 255; + static const jint NOTE_OFF = 128; + static const jint NOTE_ON = 144; + static const jint POLY_PRESSURE = 160; + static const jint CONTROL_CHANGE = 176; + static const jint PROGRAM_CHANGE = 192; + static const jint CHANNEL_PRESSURE = 208; + static const jint PITCH_BEND = 224; +private: + static JArray< jbyte > * defaultMessage; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_sound_midi_ShortMessage__ diff --git a/libjava/javax/sound/midi/Soundbank.h b/libjava/javax/sound/midi/Soundbank.h new file mode 100644 index 000000000..8890388b8 --- /dev/null +++ b/libjava/javax/sound/midi/Soundbank.h @@ -0,0 +1,43 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_sound_midi_Soundbank__ +#define __javax_sound_midi_Soundbank__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace sound + { + namespace midi + { + class Instrument; + class Patch; + class Soundbank; + class SoundbankResource; + } + } + } +} + +class javax::sound::midi::Soundbank : public ::java::lang::Object +{ + +public: + virtual ::java::lang::String * getName() = 0; + virtual ::java::lang::String * getVersion() = 0; + virtual ::java::lang::String * getVendor() = 0; + virtual ::java::lang::String * getDescription() = 0; + virtual JArray< ::javax::sound::midi::SoundbankResource * > * getResources() = 0; + virtual JArray< ::javax::sound::midi::Instrument * > * getInstruments() = 0; + virtual ::javax::sound::midi::Instrument * getInstrument(::javax::sound::midi::Patch *) = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_sound_midi_Soundbank__ diff --git a/libjava/javax/sound/midi/SoundbankResource.h b/libjava/javax/sound/midi/SoundbankResource.h new file mode 100644 index 000000000..195626810 --- /dev/null +++ b/libjava/javax/sound/midi/SoundbankResource.h @@ -0,0 +1,43 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_sound_midi_SoundbankResource__ +#define __javax_sound_midi_SoundbankResource__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace sound + { + namespace midi + { + class Soundbank; + class SoundbankResource; + } + } + } +} + +class javax::sound::midi::SoundbankResource : public ::java::lang::Object +{ + +public: // actually protected + SoundbankResource(::javax::sound::midi::Soundbank *, ::java::lang::String *, ::java::lang::Class *); +public: + virtual ::javax::sound::midi::Soundbank * getSoundbank(); + virtual ::java::lang::String * getName(); + virtual ::java::lang::Class * getDataClass(); + virtual ::java::lang::Object * getData() = 0; +private: + ::javax::sound::midi::Soundbank * __attribute__((aligned(__alignof__( ::java::lang::Object)))) soundbank; + ::java::lang::String * name; + ::java::lang::Class * dataClass; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_sound_midi_SoundbankResource__ diff --git a/libjava/javax/sound/midi/Synthesizer.h b/libjava/javax/sound/midi/Synthesizer.h new file mode 100644 index 000000000..1ccc094be --- /dev/null +++ b/libjava/javax/sound/midi/Synthesizer.h @@ -0,0 +1,65 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_sound_midi_Synthesizer__ +#define __javax_sound_midi_Synthesizer__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace sound + { + namespace midi + { + class Instrument; + class MidiChannel; + class MidiDevice$Info; + class Patch; + class Receiver; + class Soundbank; + class Synthesizer; + class Transmitter; + class VoiceStatus; + } + } + } +} + +class javax::sound::midi::Synthesizer : public ::java::lang::Object +{ + +public: + virtual jint getMaxPolyphony() = 0; + virtual jlong getLatency() = 0; + virtual JArray< ::javax::sound::midi::MidiChannel * > * getChannels() = 0; + virtual JArray< ::javax::sound::midi::VoiceStatus * > * getVoiceStatus() = 0; + virtual jboolean isSoundbankSupported(::javax::sound::midi::Soundbank *) = 0; + virtual jboolean loadInstrument(::javax::sound::midi::Instrument *) = 0; + virtual void unloadInstrument(::javax::sound::midi::Instrument *) = 0; + virtual jboolean remapInstrument(::javax::sound::midi::Instrument *, ::javax::sound::midi::Instrument *) = 0; + virtual ::javax::sound::midi::Soundbank * getDefaultSoundbank() = 0; + virtual JArray< ::javax::sound::midi::Instrument * > * getAvailableInstruments() = 0; + virtual JArray< ::javax::sound::midi::Instrument * > * getLoadedInstruments() = 0; + virtual jboolean loadAllInstruments(::javax::sound::midi::Soundbank *) = 0; + virtual void unloadAllInstruments(::javax::sound::midi::Soundbank *) = 0; + virtual jboolean loadInstruments(::javax::sound::midi::Soundbank *, JArray< ::javax::sound::midi::Patch * > *) = 0; + virtual void unloadInstruments(::javax::sound::midi::Soundbank *, JArray< ::javax::sound::midi::Patch * > *) = 0; + virtual ::javax::sound::midi::MidiDevice$Info * getDeviceInfo() = 0; + 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; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_sound_midi_Synthesizer__ diff --git a/libjava/javax/sound/midi/SysexMessage.h b/libjava/javax/sound/midi/SysexMessage.h new file mode 100644 index 000000000..e6901f283 --- /dev/null +++ b/libjava/javax/sound/midi/SysexMessage.h @@ -0,0 +1,43 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_sound_midi_SysexMessage__ +#define __javax_sound_midi_SysexMessage__ + +#pragma interface + +#include <javax/sound/midi/MidiMessage.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace sound + { + namespace midi + { + class SysexMessage; + } + } + } +} + +class javax::sound::midi::SysexMessage : public ::javax::sound::midi::MidiMessage +{ + +public: + SysexMessage(); +public: // actually protected + SysexMessage(JArray< jbyte > *); +public: + virtual void setMessage(JArray< jbyte > *, jint); + virtual void setMessage(jint, JArray< jbyte > *, jint); + virtual JArray< jbyte > * getData(); + virtual ::java::lang::Object * clone(); + static const jint SYSTEM_EXCLUSIVE = 240; + static const jint SPECIAL_SYSTEM_EXCLUSIVE = 247; + static ::java::lang::Class class$; +}; + +#endif // __javax_sound_midi_SysexMessage__ diff --git a/libjava/javax/sound/midi/Track.h b/libjava/javax/sound/midi/Track.h new file mode 100644 index 000000000..9f5445965 --- /dev/null +++ b/libjava/javax/sound/midi/Track.h @@ -0,0 +1,44 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_sound_midi_Track__ +#define __javax_sound_midi_Track__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace sound + { + namespace midi + { + class MidiEvent; + class Track; + } + } + } +} + +class javax::sound::midi::Track : public ::java::lang::Object +{ + +public: // actually package-private + Track(); +public: + virtual jboolean add(::javax::sound::midi::MidiEvent *); + virtual jboolean remove(::javax::sound::midi::MidiEvent *); + virtual ::javax::sound::midi::MidiEvent * get(jint); + virtual jint size(); + virtual jlong ticks(); +public: // actually package-private + ::java::util::Vector * __attribute__((aligned(__alignof__( ::java::lang::Object)))) events; +private: + ::java::util::HashSet * eventSet; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_sound_midi_Track__ diff --git a/libjava/javax/sound/midi/Transmitter.h b/libjava/javax/sound/midi/Transmitter.h new file mode 100644 index 000000000..039f311bd --- /dev/null +++ b/libjava/javax/sound/midi/Transmitter.h @@ -0,0 +1,35 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_sound_midi_Transmitter__ +#define __javax_sound_midi_Transmitter__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace sound + { + namespace midi + { + class Receiver; + class Transmitter; + } + } + } +} + +class javax::sound::midi::Transmitter : public ::java::lang::Object +{ + +public: + virtual void setReceiver(::javax::sound::midi::Receiver *) = 0; + virtual ::javax::sound::midi::Receiver * getReceiver() = 0; + virtual void close() = 0; + static ::java::lang::Class class$; +} __attribute__ ((java_interface)); + +#endif // __javax_sound_midi_Transmitter__ diff --git a/libjava/javax/sound/midi/VoiceStatus.h b/libjava/javax/sound/midi/VoiceStatus.h new file mode 100644 index 000000000..6e25a3457 --- /dev/null +++ b/libjava/javax/sound/midi/VoiceStatus.h @@ -0,0 +1,38 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_sound_midi_VoiceStatus__ +#define __javax_sound_midi_VoiceStatus__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace javax + { + namespace sound + { + namespace midi + { + class VoiceStatus; + } + } + } +} + +class javax::sound::midi::VoiceStatus : public ::java::lang::Object +{ + +public: + VoiceStatus(); + jboolean __attribute__((aligned(__alignof__( ::java::lang::Object)))) active; + jint channel; + jint bank; + jint program; + jint note; + jint volume; + static ::java::lang::Class class$; +}; + +#endif // __javax_sound_midi_VoiceStatus__ diff --git a/libjava/javax/sound/midi/spi/MidiDeviceProvider.h b/libjava/javax/sound/midi/spi/MidiDeviceProvider.h new file mode 100644 index 000000000..3e172aa55 --- /dev/null +++ b/libjava/javax/sound/midi/spi/MidiDeviceProvider.h @@ -0,0 +1,42 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_sound_midi_spi_MidiDeviceProvider__ +#define __javax_sound_midi_spi_MidiDeviceProvider__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace sound + { + namespace midi + { + class MidiDevice; + class MidiDevice$Info; + namespace spi + { + class MidiDeviceProvider; + } + } + } + } +} + +class javax::sound::midi::spi::MidiDeviceProvider : public ::java::lang::Object +{ + +public: + MidiDeviceProvider(); + virtual jboolean isDeviceSupported(::javax::sound::midi::MidiDevice$Info *); + virtual JArray< ::javax::sound::midi::MidiDevice$Info * > * getDeviceInfo() = 0; + virtual ::javax::sound::midi::MidiDevice * getDevice(::javax::sound::midi::MidiDevice$Info *) = 0; + static ::java::lang::Class class$; +}; + +#endif // __javax_sound_midi_spi_MidiDeviceProvider__ diff --git a/libjava/javax/sound/midi/spi/MidiFileReader.h b/libjava/javax/sound/midi/spi/MidiFileReader.h new file mode 100644 index 000000000..a389294bb --- /dev/null +++ b/libjava/javax/sound/midi/spi/MidiFileReader.h @@ -0,0 +1,50 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_sound_midi_spi_MidiFileReader__ +#define __javax_sound_midi_spi_MidiFileReader__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace net + { + class URL; + } + } + namespace javax + { + namespace sound + { + namespace midi + { + class MidiFileFormat; + class Sequence; + namespace spi + { + class MidiFileReader; + } + } + } + } +} + +class javax::sound::midi::spi::MidiFileReader : public ::java::lang::Object +{ + +public: + MidiFileReader(); + virtual ::javax::sound::midi::MidiFileFormat * getMidiFileFormat(::java::io::InputStream *) = 0; + virtual ::javax::sound::midi::MidiFileFormat * getMidiFileFormat(::java::net::URL *) = 0; + virtual ::javax::sound::midi::MidiFileFormat * getMidiFileFormat(::java::io::File *) = 0; + virtual ::javax::sound::midi::Sequence * getSequence(::java::io::InputStream *) = 0; + virtual ::javax::sound::midi::Sequence * getSequence(::java::net::URL *) = 0; + virtual ::javax::sound::midi::Sequence * getSequence(::java::io::File *) = 0; + static ::java::lang::Class class$; +}; + +#endif // __javax_sound_midi_spi_MidiFileReader__ diff --git a/libjava/javax/sound/midi/spi/MidiFileWriter.h b/libjava/javax/sound/midi/spi/MidiFileWriter.h new file mode 100644 index 000000000..d5144faae --- /dev/null +++ b/libjava/javax/sound/midi/spi/MidiFileWriter.h @@ -0,0 +1,44 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_sound_midi_spi_MidiFileWriter__ +#define __javax_sound_midi_spi_MidiFileWriter__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace sound + { + namespace midi + { + class Sequence; + namespace spi + { + class MidiFileWriter; + } + } + } + } +} + +class javax::sound::midi::spi::MidiFileWriter : public ::java::lang::Object +{ + +public: + MidiFileWriter(); + virtual JArray< jint > * getMidiFileTypes() = 0; + virtual JArray< jint > * getMidiFileTypes(::javax::sound::midi::Sequence *) = 0; + virtual jboolean isFileTypeSupported(jint); + virtual jboolean isFileTypeSupported(jint, ::javax::sound::midi::Sequence *); + virtual jint write(::javax::sound::midi::Sequence *, jint, ::java::io::OutputStream *) = 0; + virtual jint write(::javax::sound::midi::Sequence *, jint, ::java::io::File *) = 0; + static ::java::lang::Class class$; +}; + +#endif // __javax_sound_midi_spi_MidiFileWriter__ diff --git a/libjava/javax/sound/midi/spi/SoundbankReader.h b/libjava/javax/sound/midi/spi/SoundbankReader.h new file mode 100644 index 000000000..a12e20b9f --- /dev/null +++ b/libjava/javax/sound/midi/spi/SoundbankReader.h @@ -0,0 +1,46 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_sound_midi_spi_SoundbankReader__ +#define __javax_sound_midi_spi_SoundbankReader__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace java + { + namespace net + { + class URL; + } + } + namespace javax + { + namespace sound + { + namespace midi + { + class Soundbank; + namespace spi + { + class SoundbankReader; + } + } + } + } +} + +class javax::sound::midi::spi::SoundbankReader : public ::java::lang::Object +{ + +public: + SoundbankReader(); + virtual ::javax::sound::midi::Soundbank * getSoundbank(::java::net::URL *) = 0; + virtual ::javax::sound::midi::Soundbank * getSoundbank(::java::io::InputStream *) = 0; + virtual ::javax::sound::midi::Soundbank * getSoundbank(::java::io::File *) = 0; + static ::java::lang::Class class$; +}; + +#endif // __javax_sound_midi_spi_SoundbankReader__ |