summaryrefslogtreecommitdiff
path: root/libjava/javax/sound
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/javax/sound')
-rw-r--r--libjava/javax/sound/midi/ControllerEventListener.h33
-rw-r--r--libjava/javax/sound/midi/Instrument.h39
-rw-r--r--libjava/javax/sound/midi/InvalidMidiDataException.h36
-rw-r--r--libjava/javax/sound/midi/MetaEventListener.h33
-rw-r--r--libjava/javax/sound/midi/MetaMessage.h45
-rw-r--r--libjava/javax/sound/midi/MidiChannel.h57
-rw-r--r--libjava/javax/sound/midi/MidiDevice$Info.h46
-rw-r--r--libjava/javax/sound/midi/MidiDevice.h43
-rw-r--r--libjava/javax/sound/midi/MidiEvent.h40
-rw-r--r--libjava/javax/sound/midi/MidiFileFormat.h45
-rw-r--r--libjava/javax/sound/midi/MidiMessage.h44
-rw-r--r--libjava/javax/sound/midi/MidiSystem.h71
-rw-r--r--libjava/javax/sound/midi/MidiUnavailableException.h36
-rw-r--r--libjava/javax/sound/midi/Patch.h38
-rw-r--r--libjava/javax/sound/midi/Receiver.h34
-rw-r--r--libjava/javax/sound/midi/Sequence.h56
-rw-r--r--libjava/javax/sound/midi/Sequencer$SyncMode.h43
-rw-r--r--libjava/javax/sound/midi/Sequencer.h86
-rw-r--r--libjava/javax/sound/midi/ShortMessage.h69
-rw-r--r--libjava/javax/sound/midi/Soundbank.h43
-rw-r--r--libjava/javax/sound/midi/SoundbankResource.h43
-rw-r--r--libjava/javax/sound/midi/Synthesizer.h65
-rw-r--r--libjava/javax/sound/midi/SysexMessage.h43
-rw-r--r--libjava/javax/sound/midi/Track.h44
-rw-r--r--libjava/javax/sound/midi/Transmitter.h35
-rw-r--r--libjava/javax/sound/midi/VoiceStatus.h38
-rw-r--r--libjava/javax/sound/midi/spi/MidiDeviceProvider.h42
-rw-r--r--libjava/javax/sound/midi/spi/MidiFileReader.h50
-rw-r--r--libjava/javax/sound/midi/spi/MidiFileWriter.h44
-rw-r--r--libjava/javax/sound/midi/spi/SoundbankReader.h46
-rw-r--r--libjava/javax/sound/sampled/AudioFileFormat$Type.h45
-rw-r--r--libjava/javax/sound/sampled/AudioFileFormat.h52
-rw-r--r--libjava/javax/sound/sampled/AudioFormat$Encoding.h42
-rw-r--r--libjava/javax/sound/sampled/AudioFormat.h57
-rw-r--r--libjava/javax/sound/sampled/AudioInputStream$TargetInputStream.h41
-rw-r--r--libjava/javax/sound/sampled/AudioInputStream.h57
-rw-r--r--libjava/javax/sound/sampled/AudioPermission.h36
-rw-r--r--libjava/javax/sound/sampled/AudioSystem.h88
-rw-r--r--libjava/javax/sound/sampled/BooleanControl$Type.h35
-rw-r--r--libjava/javax/sound/sampled/BooleanControl.h44
-rw-r--r--libjava/javax/sound/sampled/Clip.h70
-rw-r--r--libjava/javax/sound/sampled/CompoundControl$Type.h33
-rw-r--r--libjava/javax/sound/sampled/CompoundControl.h42
-rw-r--r--libjava/javax/sound/sampled/Control$Type.h39
-rw-r--r--libjava/javax/sound/sampled/Control.h39
-rw-r--r--libjava/javax/sound/sampled/DataLine$Info.h49
-rw-r--r--libjava/javax/sound/sampled/DataLine.h60
-rw-r--r--libjava/javax/sound/sampled/EnumControl$Type.h34
-rw-r--r--libjava/javax/sound/sampled/EnumControl.h44
-rw-r--r--libjava/javax/sound/sampled/FloatControl$Type.h42
-rw-r--r--libjava/javax/sound/sampled/FloatControl.h58
-rw-r--r--libjava/javax/sound/sampled/Line$Info.h38
-rw-r--r--libjava/javax/sound/sampled/Line.h46
-rw-r--r--libjava/javax/sound/sampled/LineEvent$Type.h43
-rw-r--r--libjava/javax/sound/sampled/LineEvent.h46
-rw-r--r--libjava/javax/sound/sampled/LineListener.h33
-rw-r--r--libjava/javax/sound/sampled/LineUnavailableException.h36
-rw-r--r--libjava/javax/sound/sampled/Mixer$Info.h46
-rw-r--r--libjava/javax/sound/sampled/Mixer.h61
-rw-r--r--libjava/javax/sound/sampled/Port$Info.h49
-rw-r--r--libjava/javax/sound/sampled/Port.h46
-rw-r--r--libjava/javax/sound/sampled/ReverbType.h50
-rw-r--r--libjava/javax/sound/sampled/SourceDataLine.h63
-rw-r--r--libjava/javax/sound/sampled/TargetDataLine.h63
-rw-r--r--libjava/javax/sound/sampled/UnsupportedAudioFileException.h36
-rw-r--r--libjava/javax/sound/sampled/spi/AudioFileReader.h50
-rw-r--r--libjava/javax/sound/sampled/spi/AudioFileWriter.h45
-rw-r--r--libjava/javax/sound/sampled/spi/FormatConversionProvider.h50
-rw-r--r--libjava/javax/sound/sampled/spi/MixerProvider.h42
69 files changed, 3237 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__
diff --git a/libjava/javax/sound/sampled/AudioFileFormat$Type.h b/libjava/javax/sound/sampled/AudioFileFormat$Type.h
new file mode 100644
index 000000000..cc44a55b8
--- /dev/null
+++ b/libjava/javax/sound/sampled/AudioFileFormat$Type.h
@@ -0,0 +1,45 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_sound_sampled_AudioFileFormat$Type__
+#define __javax_sound_sampled_AudioFileFormat$Type__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace sampled
+ {
+ class AudioFileFormat$Type;
+ }
+ }
+ }
+}
+
+class javax::sound::sampled::AudioFileFormat$Type : public ::java::lang::Object
+{
+
+public:
+ AudioFileFormat$Type(::java::lang::String *, ::java::lang::String *);
+ virtual jboolean equals(::java::lang::Object *);
+ virtual jint hashCode();
+ virtual ::java::lang::String * getExtension();
+ virtual ::java::lang::String * toString();
+ static ::javax::sound::sampled::AudioFileFormat$Type * AIFC;
+ static ::javax::sound::sampled::AudioFileFormat$Type * AIFF;
+ static ::javax::sound::sampled::AudioFileFormat$Type * AU;
+ static ::javax::sound::sampled::AudioFileFormat$Type * SND;
+ static ::javax::sound::sampled::AudioFileFormat$Type * WAVE;
+private:
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name;
+ ::java::lang::String * extension;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_sound_sampled_AudioFileFormat$Type__
diff --git a/libjava/javax/sound/sampled/AudioFileFormat.h b/libjava/javax/sound/sampled/AudioFileFormat.h
new file mode 100644
index 000000000..f5171f516
--- /dev/null
+++ b/libjava/javax/sound/sampled/AudioFileFormat.h
@@ -0,0 +1,52 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_sound_sampled_AudioFileFormat__
+#define __javax_sound_sampled_AudioFileFormat__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace sampled
+ {
+ class AudioFileFormat;
+ class AudioFileFormat$Type;
+ class AudioFormat;
+ }
+ }
+ }
+}
+
+class javax::sound::sampled::AudioFileFormat : public ::java::lang::Object
+{
+
+public:
+ AudioFileFormat(::javax::sound::sampled::AudioFileFormat$Type *, ::javax::sound::sampled::AudioFormat *, jint);
+ AudioFileFormat(::javax::sound::sampled::AudioFileFormat$Type *, ::javax::sound::sampled::AudioFormat *, jint, ::java::util::Map *);
+public: // actually protected
+ AudioFileFormat(::javax::sound::sampled::AudioFileFormat$Type *, jint, ::javax::sound::sampled::AudioFormat *, jint);
+public:
+ virtual jint getByteLength();
+ virtual ::javax::sound::sampled::AudioFormat * getFormat();
+ virtual jint getFrameLength();
+ virtual ::java::lang::Object * getProperty(::java::lang::String *);
+ virtual ::javax::sound::sampled::AudioFileFormat$Type * getType();
+ virtual ::java::util::Map * properties();
+ virtual ::java::lang::String * toString();
+private:
+ jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) byteLength;
+ ::javax::sound::sampled::AudioFormat * format;
+ ::javax::sound::sampled::AudioFileFormat$Type * type;
+ jint frameLength;
+ ::java::util::Map * properties__;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_sound_sampled_AudioFileFormat__
diff --git a/libjava/javax/sound/sampled/AudioFormat$Encoding.h b/libjava/javax/sound/sampled/AudioFormat$Encoding.h
new file mode 100644
index 000000000..74b37793d
--- /dev/null
+++ b/libjava/javax/sound/sampled/AudioFormat$Encoding.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_sound_sampled_AudioFormat$Encoding__
+#define __javax_sound_sampled_AudioFormat$Encoding__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace sampled
+ {
+ class AudioFormat$Encoding;
+ }
+ }
+ }
+}
+
+class javax::sound::sampled::AudioFormat$Encoding : public ::java::lang::Object
+{
+
+public:
+ AudioFormat$Encoding(::java::lang::String *);
+ virtual jboolean equals(::java::lang::Object *);
+ virtual jint hashCode();
+ virtual ::java::lang::String * toString();
+ static ::javax::sound::sampled::AudioFormat$Encoding * ALAW;
+ static ::javax::sound::sampled::AudioFormat$Encoding * PCM_SIGNED;
+ static ::javax::sound::sampled::AudioFormat$Encoding * PCM_UNSIGNED;
+ static ::javax::sound::sampled::AudioFormat$Encoding * ULAW;
+private:
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_sound_sampled_AudioFormat$Encoding__
diff --git a/libjava/javax/sound/sampled/AudioFormat.h b/libjava/javax/sound/sampled/AudioFormat.h
new file mode 100644
index 000000000..5166524d9
--- /dev/null
+++ b/libjava/javax/sound/sampled/AudioFormat.h
@@ -0,0 +1,57 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_sound_sampled_AudioFormat__
+#define __javax_sound_sampled_AudioFormat__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace sampled
+ {
+ class AudioFormat;
+ class AudioFormat$Encoding;
+ }
+ }
+ }
+}
+
+class javax::sound::sampled::AudioFormat : public ::java::lang::Object
+{
+
+public:
+ AudioFormat(::javax::sound::sampled::AudioFormat$Encoding *, jfloat, jint, jint, jint, jfloat, jboolean);
+ AudioFormat(::javax::sound::sampled::AudioFormat$Encoding *, jfloat, jint, jint, jint, jfloat, jboolean, ::java::util::Map *);
+ AudioFormat(jfloat, jint, jint, jboolean, jboolean);
+ virtual jint getChannels();
+ virtual ::javax::sound::sampled::AudioFormat$Encoding * getEncoding();
+ virtual jfloat getFrameRate();
+ virtual jint getFrameSize();
+ virtual ::java::lang::Object * getProperty(::java::lang::String *);
+ virtual jfloat getSampleRate();
+ virtual jint getSampleSizeInBits();
+ virtual jboolean isBigEndian();
+ virtual jboolean matches(::javax::sound::sampled::AudioFormat *);
+ virtual ::java::util::Map * properties();
+ virtual ::java::lang::String * toString();
+public: // actually protected
+ jboolean __attribute__((aligned(__alignof__( ::java::lang::Object)))) bigEndian;
+ jint channels;
+ ::javax::sound::sampled::AudioFormat$Encoding * encoding;
+ jfloat frameRate;
+ jint frameSize;
+ jfloat sampleRate;
+ jint sampleSizeInBits;
+private:
+ ::java::util::Map * properties__;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_sound_sampled_AudioFormat__
diff --git a/libjava/javax/sound/sampled/AudioInputStream$TargetInputStream.h b/libjava/javax/sound/sampled/AudioInputStream$TargetInputStream.h
new file mode 100644
index 000000000..a4d4b195d
--- /dev/null
+++ b/libjava/javax/sound/sampled/AudioInputStream$TargetInputStream.h
@@ -0,0 +1,41 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_sound_sampled_AudioInputStream$TargetInputStream__
+#define __javax_sound_sampled_AudioInputStream$TargetInputStream__
+
+#pragma interface
+
+#include <java/io/InputStream.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace sampled
+ {
+ class AudioInputStream$TargetInputStream;
+ class TargetDataLine;
+ }
+ }
+ }
+}
+
+class javax::sound::sampled::AudioInputStream$TargetInputStream : public ::java::io::InputStream
+{
+
+public:
+ AudioInputStream$TargetInputStream(::javax::sound::sampled::TargetDataLine *);
+ virtual jint read();
+ virtual jint read(JArray< jbyte > *, jint, jint);
+private:
+ ::javax::sound::sampled::TargetDataLine * __attribute__((aligned(__alignof__( ::java::io::InputStream)))) line;
+ JArray< jbyte > * buf;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_sound_sampled_AudioInputStream$TargetInputStream__
diff --git a/libjava/javax/sound/sampled/AudioInputStream.h b/libjava/javax/sound/sampled/AudioInputStream.h
new file mode 100644
index 000000000..5e07e8dc1
--- /dev/null
+++ b/libjava/javax/sound/sampled/AudioInputStream.h
@@ -0,0 +1,57 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_sound_sampled_AudioInputStream__
+#define __javax_sound_sampled_AudioInputStream__
+
+#pragma interface
+
+#include <java/io/InputStream.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace sampled
+ {
+ class AudioFormat;
+ class AudioInputStream;
+ class TargetDataLine;
+ }
+ }
+ }
+}
+
+class javax::sound::sampled::AudioInputStream : public ::java::io::InputStream
+{
+
+public:
+ AudioInputStream(::java::io::InputStream *, ::javax::sound::sampled::AudioFormat *, jlong);
+ AudioInputStream(::javax::sound::sampled::TargetDataLine *);
+ virtual jint available();
+ virtual void close();
+ virtual ::javax::sound::sampled::AudioFormat * getFormat();
+ virtual jlong getFrameLength();
+ virtual void mark(jint);
+ virtual jboolean markSupported();
+ virtual jint read();
+ virtual jint read(JArray< jbyte > *);
+ virtual jint read(JArray< jbyte > *, jint, jint);
+ virtual void reset();
+ virtual jlong skip(jlong);
+public: // actually protected
+ ::javax::sound::sampled::AudioFormat * __attribute__((aligned(__alignof__( ::java::io::InputStream)))) format;
+ jlong frameLength;
+ jlong framePos;
+ jint frameSize;
+private:
+ ::java::io::InputStream * input;
+ jlong markedFramePos;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_sound_sampled_AudioInputStream__
diff --git a/libjava/javax/sound/sampled/AudioPermission.h b/libjava/javax/sound/sampled/AudioPermission.h
new file mode 100644
index 000000000..e83637b50
--- /dev/null
+++ b/libjava/javax/sound/sampled/AudioPermission.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_sound_sampled_AudioPermission__
+#define __javax_sound_sampled_AudioPermission__
+
+#pragma interface
+
+#include <java/security/BasicPermission.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace sampled
+ {
+ class AudioPermission;
+ }
+ }
+ }
+}
+
+class javax::sound::sampled::AudioPermission : public ::java::security::BasicPermission
+{
+
+public:
+ AudioPermission(::java::lang::String *);
+ AudioPermission(::java::lang::String *, ::java::lang::String *);
+private:
+ static const jlong serialVersionUID = -5518053473477801126LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_sound_sampled_AudioPermission__
diff --git a/libjava/javax/sound/sampled/AudioSystem.h b/libjava/javax/sound/sampled/AudioSystem.h
new file mode 100644
index 000000000..9b490ded8
--- /dev/null
+++ b/libjava/javax/sound/sampled/AudioSystem.h
@@ -0,0 +1,88 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_sound_sampled_AudioSystem__
+#define __javax_sound_sampled_AudioSystem__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class URL;
+ }
+ }
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace sampled
+ {
+ class AudioFileFormat;
+ class AudioFileFormat$Type;
+ class AudioFormat;
+ class AudioFormat$Encoding;
+ class AudioInputStream;
+ class AudioSystem;
+ class Clip;
+ class Line;
+ class Line$Info;
+ class Mixer;
+ class Mixer$Info;
+ class SourceDataLine;
+ class TargetDataLine;
+ }
+ }
+ }
+}
+
+class javax::sound::sampled::AudioSystem : public ::java::lang::Object
+{
+
+ AudioSystem();
+public:
+ static ::javax::sound::sampled::AudioFileFormat * getAudioFileFormat(::java::io::File *);
+ static ::javax::sound::sampled::AudioFileFormat * getAudioFileFormat(::java::io::InputStream *);
+ static ::javax::sound::sampled::AudioFileFormat * getAudioFileFormat(::java::net::URL *);
+ static JArray< ::javax::sound::sampled::AudioFileFormat$Type * > * getAudioFileTypes();
+ static JArray< ::javax::sound::sampled::AudioFileFormat$Type * > * getAudioFileTypes(::javax::sound::sampled::AudioInputStream *);
+ static ::javax::sound::sampled::AudioInputStream * getAudioInputStream(::javax::sound::sampled::AudioFormat$Encoding *, ::javax::sound::sampled::AudioInputStream *);
+ static ::javax::sound::sampled::AudioInputStream * getAudioInputStream(::javax::sound::sampled::AudioFormat *, ::javax::sound::sampled::AudioInputStream *);
+ static ::javax::sound::sampled::AudioInputStream * getAudioInputStream(::java::io::File *);
+ static ::javax::sound::sampled::AudioInputStream * getAudioInputStream(::java::io::InputStream *);
+ static ::javax::sound::sampled::AudioInputStream * getAudioInputStream(::java::net::URL *);
+ static ::javax::sound::sampled::Clip * getClip();
+ static ::javax::sound::sampled::Clip * getClip(::javax::sound::sampled::Mixer$Info *);
+ static ::javax::sound::sampled::Line * getLine(::javax::sound::sampled::Line$Info *);
+ static ::javax::sound::sampled::Mixer * getMixer(::javax::sound::sampled::Mixer$Info *);
+ static JArray< ::javax::sound::sampled::Mixer$Info * > * getMixerInfo();
+ static ::javax::sound::sampled::SourceDataLine * getSourceDataLine(::javax::sound::sampled::AudioFormat *);
+ static ::javax::sound::sampled::SourceDataLine * getSourceDataLine(::javax::sound::sampled::AudioFormat *, ::javax::sound::sampled::Mixer$Info *);
+ static JArray< ::javax::sound::sampled::Line$Info * > * getSourceLineInfo(::javax::sound::sampled::Line$Info *);
+ static ::javax::sound::sampled::TargetDataLine * getTargetDataLine(::javax::sound::sampled::AudioFormat *);
+ static ::javax::sound::sampled::TargetDataLine * getTargetDataLine(::javax::sound::sampled::AudioFormat *, ::javax::sound::sampled::Mixer$Info *);
+ static JArray< ::javax::sound::sampled::AudioFormat$Encoding * > * getTargetEncodings(::javax::sound::sampled::AudioFormat$Encoding *);
+ static JArray< ::javax::sound::sampled::AudioFormat$Encoding * > * getTargetEncodings(::javax::sound::sampled::AudioFormat *);
+ static JArray< ::javax::sound::sampled::AudioFormat * > * getTargetFormats(::javax::sound::sampled::AudioFormat$Encoding *, ::javax::sound::sampled::AudioFormat *);
+ static JArray< ::javax::sound::sampled::Line$Info * > * getTargetLineInfo(::javax::sound::sampled::Line$Info *);
+ static jboolean isConversionSupported(::javax::sound::sampled::AudioFormat$Encoding *, ::javax::sound::sampled::AudioFormat *);
+ static jboolean isConversionSupported(::javax::sound::sampled::AudioFormat *, ::javax::sound::sampled::AudioFormat *);
+private:
+ static jboolean isFileTypeSupported(JArray< ::javax::sound::sampled::AudioFileFormat$Type * > *, ::javax::sound::sampled::AudioFileFormat$Type *);
+public:
+ static jboolean isFileTypeSupported(::javax::sound::sampled::AudioFileFormat$Type *);
+ static jboolean isFileTypeSupported(::javax::sound::sampled::AudioFileFormat$Type *, ::javax::sound::sampled::AudioInputStream *);
+ static jboolean isLineSupported(::javax::sound::sampled::Line$Info *);
+ static jint write(::javax::sound::sampled::AudioInputStream *, ::javax::sound::sampled::AudioFileFormat$Type *, ::java::io::File *);
+ static jint write(::javax::sound::sampled::AudioInputStream *, ::javax::sound::sampled::AudioFileFormat$Type *, ::java::io::OutputStream *);
+ static const jint NOT_SPECIFIED = -1;
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_sound_sampled_AudioSystem__
diff --git a/libjava/javax/sound/sampled/BooleanControl$Type.h b/libjava/javax/sound/sampled/BooleanControl$Type.h
new file mode 100644
index 000000000..a7058efe4
--- /dev/null
+++ b/libjava/javax/sound/sampled/BooleanControl$Type.h
@@ -0,0 +1,35 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_sound_sampled_BooleanControl$Type__
+#define __javax_sound_sampled_BooleanControl$Type__
+
+#pragma interface
+
+#include <javax/sound/sampled/Control$Type.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace sampled
+ {
+ class BooleanControl$Type;
+ }
+ }
+ }
+}
+
+class javax::sound::sampled::BooleanControl$Type : public ::javax::sound::sampled::Control$Type
+{
+
+public: // actually protected
+ BooleanControl$Type(::java::lang::String *);
+public:
+ static ::javax::sound::sampled::BooleanControl$Type * APPLY_REVERB;
+ static ::javax::sound::sampled::BooleanControl$Type * MUTE;
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_sound_sampled_BooleanControl$Type__
diff --git a/libjava/javax/sound/sampled/BooleanControl.h b/libjava/javax/sound/sampled/BooleanControl.h
new file mode 100644
index 000000000..eca5d3548
--- /dev/null
+++ b/libjava/javax/sound/sampled/BooleanControl.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_sound_sampled_BooleanControl__
+#define __javax_sound_sampled_BooleanControl__
+
+#pragma interface
+
+#include <javax/sound/sampled/Control.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace sampled
+ {
+ class BooleanControl;
+ class BooleanControl$Type;
+ }
+ }
+ }
+}
+
+class javax::sound::sampled::BooleanControl : public ::javax::sound::sampled::Control
+{
+
+public: // actually protected
+ BooleanControl(::javax::sound::sampled::BooleanControl$Type *, jboolean);
+ BooleanControl(::javax::sound::sampled::BooleanControl$Type *, jboolean, ::java::lang::String *, ::java::lang::String *);
+public:
+ virtual ::java::lang::String * getStateLabel(jboolean);
+ virtual jboolean getValue();
+ virtual void setValue(jboolean);
+ virtual ::java::lang::String * toString();
+private:
+ jboolean __attribute__((aligned(__alignof__( ::javax::sound::sampled::Control)))) value;
+ ::java::lang::String * trueLabel;
+ ::java::lang::String * falseLabel;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_sound_sampled_BooleanControl__
diff --git a/libjava/javax/sound/sampled/Clip.h b/libjava/javax/sound/sampled/Clip.h
new file mode 100644
index 000000000..ab6c55828
--- /dev/null
+++ b/libjava/javax/sound/sampled/Clip.h
@@ -0,0 +1,70 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_sound_sampled_Clip__
+#define __javax_sound_sampled_Clip__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace sampled
+ {
+ class AudioFormat;
+ class AudioInputStream;
+ class Clip;
+ class Control;
+ class Control$Type;
+ class Line$Info;
+ class LineListener;
+ }
+ }
+ }
+}
+
+class javax::sound::sampled::Clip : public ::java::lang::Object
+{
+
+public:
+ virtual jint getFrameLength() = 0;
+ virtual jlong getMicrosecondLength() = 0;
+ virtual void loop(jint) = 0;
+ virtual void open(::javax::sound::sampled::AudioFormat *, JArray< jbyte > *, jint, jint) = 0;
+ virtual void open(::javax::sound::sampled::AudioInputStream *) = 0;
+ virtual void setFramePosition(jint) = 0;
+ virtual void setLoopPoints(jint, jint) = 0;
+ virtual void setMicrosecondPosition(jlong) = 0;
+ virtual jint available() = 0;
+ virtual void drain() = 0;
+ virtual void flush() = 0;
+ virtual jint getBufferSize() = 0;
+ virtual ::javax::sound::sampled::AudioFormat * getFormat() = 0;
+ virtual jint getFramePosition() = 0;
+ virtual jfloat getLevel() = 0;
+ virtual jlong getLongFramePosition() = 0;
+ virtual jlong getMicrosecondPosition() = 0;
+ virtual jboolean isActive() = 0;
+ virtual jboolean isRunning() = 0;
+ virtual void start() = 0;
+ virtual void stop() = 0;
+ virtual void addLineListener(::javax::sound::sampled::LineListener *) = 0;
+ virtual void close() = 0;
+ virtual ::javax::sound::sampled::Control * getControl(::javax::sound::sampled::Control$Type *) = 0;
+ virtual JArray< ::javax::sound::sampled::Control * > * getControls() = 0;
+ virtual ::javax::sound::sampled::Line$Info * getLineInfo() = 0;
+ virtual jboolean isControlSupported(::javax::sound::sampled::Control$Type *) = 0;
+ virtual jboolean isOpen() = 0;
+ virtual void open() = 0;
+ virtual void removeLineListener(::javax::sound::sampled::LineListener *) = 0;
+ static const jint LOOP_CONTINUOUSLY = -1;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_sound_sampled_Clip__
diff --git a/libjava/javax/sound/sampled/CompoundControl$Type.h b/libjava/javax/sound/sampled/CompoundControl$Type.h
new file mode 100644
index 000000000..ccbf51f1d
--- /dev/null
+++ b/libjava/javax/sound/sampled/CompoundControl$Type.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_sound_sampled_CompoundControl$Type__
+#define __javax_sound_sampled_CompoundControl$Type__
+
+#pragma interface
+
+#include <javax/sound/sampled/Control$Type.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace sampled
+ {
+ class CompoundControl$Type;
+ }
+ }
+ }
+}
+
+class javax::sound::sampled::CompoundControl$Type : public ::javax::sound::sampled::Control$Type
+{
+
+public: // actually protected
+ CompoundControl$Type(::java::lang::String *);
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_sound_sampled_CompoundControl$Type__
diff --git a/libjava/javax/sound/sampled/CompoundControl.h b/libjava/javax/sound/sampled/CompoundControl.h
new file mode 100644
index 000000000..d4438e56d
--- /dev/null
+++ b/libjava/javax/sound/sampled/CompoundControl.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_sound_sampled_CompoundControl__
+#define __javax_sound_sampled_CompoundControl__
+
+#pragma interface
+
+#include <javax/sound/sampled/Control.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace sampled
+ {
+ class CompoundControl;
+ class CompoundControl$Type;
+ class Control;
+ }
+ }
+ }
+}
+
+class javax::sound::sampled::CompoundControl : public ::javax::sound::sampled::Control
+{
+
+public: // actually protected
+ CompoundControl(::javax::sound::sampled::CompoundControl$Type *, JArray< ::javax::sound::sampled::Control * > *);
+public:
+ virtual JArray< ::javax::sound::sampled::Control * > * getMemberControls();
+ virtual ::java::lang::String * toString();
+private:
+ JArray< ::javax::sound::sampled::Control * > * __attribute__((aligned(__alignof__( ::javax::sound::sampled::Control)))) memberControls;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_sound_sampled_CompoundControl__
diff --git a/libjava/javax/sound/sampled/Control$Type.h b/libjava/javax/sound/sampled/Control$Type.h
new file mode 100644
index 000000000..cf7043abe
--- /dev/null
+++ b/libjava/javax/sound/sampled/Control$Type.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_sound_sampled_Control$Type__
+#define __javax_sound_sampled_Control$Type__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace sampled
+ {
+ class Control$Type;
+ }
+ }
+ }
+}
+
+class javax::sound::sampled::Control$Type : public ::java::lang::Object
+{
+
+public: // actually protected
+ Control$Type(::java::lang::String *);
+public:
+ virtual jboolean equals(::java::lang::Object *);
+ virtual jint hashCode();
+ virtual ::java::lang::String * toString();
+private:
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_sound_sampled_Control$Type__
diff --git a/libjava/javax/sound/sampled/Control.h b/libjava/javax/sound/sampled/Control.h
new file mode 100644
index 000000000..59dc5b14b
--- /dev/null
+++ b/libjava/javax/sound/sampled/Control.h
@@ -0,0 +1,39 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_sound_sampled_Control__
+#define __javax_sound_sampled_Control__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace sampled
+ {
+ class Control;
+ class Control$Type;
+ }
+ }
+ }
+}
+
+class javax::sound::sampled::Control : public ::java::lang::Object
+{
+
+public: // actually protected
+ Control(::javax::sound::sampled::Control$Type *);
+public:
+ virtual ::javax::sound::sampled::Control$Type * getType();
+ virtual ::java::lang::String * toString();
+private:
+ ::javax::sound::sampled::Control$Type * __attribute__((aligned(__alignof__( ::java::lang::Object)))) type;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_sound_sampled_Control__
diff --git a/libjava/javax/sound/sampled/DataLine$Info.h b/libjava/javax/sound/sampled/DataLine$Info.h
new file mode 100644
index 000000000..ea6322eae
--- /dev/null
+++ b/libjava/javax/sound/sampled/DataLine$Info.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_sound_sampled_DataLine$Info__
+#define __javax_sound_sampled_DataLine$Info__
+
+#pragma interface
+
+#include <javax/sound/sampled/Line$Info.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace sampled
+ {
+ class AudioFormat;
+ class DataLine$Info;
+ class Line$Info;
+ }
+ }
+ }
+}
+
+class javax::sound::sampled::DataLine$Info : public ::javax::sound::sampled::Line$Info
+{
+
+public:
+ DataLine$Info(::java::lang::Class *, ::javax::sound::sampled::AudioFormat *);
+ DataLine$Info(::java::lang::Class *, JArray< ::javax::sound::sampled::AudioFormat * > *, jint, jint);
+ DataLine$Info(::java::lang::Class *, ::javax::sound::sampled::AudioFormat *, jint);
+ virtual JArray< ::javax::sound::sampled::AudioFormat * > * getFormats();
+ virtual jint getMaxBufferSize();
+ virtual jint getMinBufferSize();
+ virtual jboolean isFormatSupported(::javax::sound::sampled::AudioFormat *);
+ virtual jboolean matches(::javax::sound::sampled::Line$Info *);
+ virtual ::java::lang::String * toString();
+private:
+ jint __attribute__((aligned(__alignof__( ::javax::sound::sampled::Line$Info)))) minBufferSize;
+ jint maxBufferSize;
+ JArray< ::javax::sound::sampled::AudioFormat * > * formats;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_sound_sampled_DataLine$Info__
diff --git a/libjava/javax/sound/sampled/DataLine.h b/libjava/javax/sound/sampled/DataLine.h
new file mode 100644
index 000000000..257fd9b77
--- /dev/null
+++ b/libjava/javax/sound/sampled/DataLine.h
@@ -0,0 +1,60 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_sound_sampled_DataLine__
+#define __javax_sound_sampled_DataLine__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace sampled
+ {
+ class AudioFormat;
+ class Control;
+ class Control$Type;
+ class DataLine;
+ class Line$Info;
+ class LineListener;
+ }
+ }
+ }
+}
+
+class javax::sound::sampled::DataLine : public ::java::lang::Object
+{
+
+public:
+ virtual jint available() = 0;
+ virtual void drain() = 0;
+ virtual void flush() = 0;
+ virtual jint getBufferSize() = 0;
+ virtual ::javax::sound::sampled::AudioFormat * getFormat() = 0;
+ virtual jint getFramePosition() = 0;
+ virtual jfloat getLevel() = 0;
+ virtual jlong getLongFramePosition() = 0;
+ virtual jlong getMicrosecondPosition() = 0;
+ virtual jboolean isActive() = 0;
+ virtual jboolean isRunning() = 0;
+ virtual void start() = 0;
+ virtual void stop() = 0;
+ virtual void addLineListener(::javax::sound::sampled::LineListener *) = 0;
+ virtual void close() = 0;
+ virtual ::javax::sound::sampled::Control * getControl(::javax::sound::sampled::Control$Type *) = 0;
+ virtual JArray< ::javax::sound::sampled::Control * > * getControls() = 0;
+ virtual ::javax::sound::sampled::Line$Info * getLineInfo() = 0;
+ virtual jboolean isControlSupported(::javax::sound::sampled::Control$Type *) = 0;
+ virtual jboolean isOpen() = 0;
+ virtual void open() = 0;
+ virtual void removeLineListener(::javax::sound::sampled::LineListener *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_sound_sampled_DataLine__
diff --git a/libjava/javax/sound/sampled/EnumControl$Type.h b/libjava/javax/sound/sampled/EnumControl$Type.h
new file mode 100644
index 000000000..dce2cc12f
--- /dev/null
+++ b/libjava/javax/sound/sampled/EnumControl$Type.h
@@ -0,0 +1,34 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_sound_sampled_EnumControl$Type__
+#define __javax_sound_sampled_EnumControl$Type__
+
+#pragma interface
+
+#include <javax/sound/sampled/Control$Type.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace sampled
+ {
+ class EnumControl$Type;
+ }
+ }
+ }
+}
+
+class javax::sound::sampled::EnumControl$Type : public ::javax::sound::sampled::Control$Type
+{
+
+public: // actually protected
+ EnumControl$Type(::java::lang::String *);
+public:
+ static ::javax::sound::sampled::EnumControl$Type * REVERB;
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_sound_sampled_EnumControl$Type__
diff --git a/libjava/javax/sound/sampled/EnumControl.h b/libjava/javax/sound/sampled/EnumControl.h
new file mode 100644
index 000000000..618d19c16
--- /dev/null
+++ b/libjava/javax/sound/sampled/EnumControl.h
@@ -0,0 +1,44 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_sound_sampled_EnumControl__
+#define __javax_sound_sampled_EnumControl__
+
+#pragma interface
+
+#include <javax/sound/sampled/Control.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace sampled
+ {
+ class EnumControl;
+ class EnumControl$Type;
+ }
+ }
+ }
+}
+
+class javax::sound::sampled::EnumControl : public ::javax::sound::sampled::Control
+{
+
+public: // actually protected
+ EnumControl(::javax::sound::sampled::EnumControl$Type *, JArray< ::java::lang::Object * > *, ::java::lang::Object *);
+public:
+ virtual ::java::lang::Object * getValue();
+ virtual JArray< ::java::lang::Object * > * getValues();
+ virtual void setValue(::java::lang::Object *);
+ virtual ::java::lang::String * toString();
+private:
+ JArray< ::java::lang::Object * > * __attribute__((aligned(__alignof__( ::javax::sound::sampled::Control)))) values;
+ ::java::lang::Object * value;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_sound_sampled_EnumControl__
diff --git a/libjava/javax/sound/sampled/FloatControl$Type.h b/libjava/javax/sound/sampled/FloatControl$Type.h
new file mode 100644
index 000000000..d14a4f9f1
--- /dev/null
+++ b/libjava/javax/sound/sampled/FloatControl$Type.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_sound_sampled_FloatControl$Type__
+#define __javax_sound_sampled_FloatControl$Type__
+
+#pragma interface
+
+#include <javax/sound/sampled/Control$Type.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace sampled
+ {
+ class FloatControl$Type;
+ }
+ }
+ }
+}
+
+class javax::sound::sampled::FloatControl$Type : public ::javax::sound::sampled::Control$Type
+{
+
+public: // actually protected
+ FloatControl$Type(::java::lang::String *);
+public:
+ static ::javax::sound::sampled::FloatControl$Type * AUX_RETURN;
+ static ::javax::sound::sampled::FloatControl$Type * AUX_SEND;
+ static ::javax::sound::sampled::FloatControl$Type * BALANCE;
+ static ::javax::sound::sampled::FloatControl$Type * MASTER_GAIN;
+ static ::javax::sound::sampled::FloatControl$Type * PAN;
+ static ::javax::sound::sampled::FloatControl$Type * REVERB_RETURN;
+ static ::javax::sound::sampled::FloatControl$Type * REVERB_SEND;
+ static ::javax::sound::sampled::FloatControl$Type * SAMPLE_RATE;
+ static ::javax::sound::sampled::FloatControl$Type * VOLUME;
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_sound_sampled_FloatControl$Type__
diff --git a/libjava/javax/sound/sampled/FloatControl.h b/libjava/javax/sound/sampled/FloatControl.h
new file mode 100644
index 000000000..3a7da025b
--- /dev/null
+++ b/libjava/javax/sound/sampled/FloatControl.h
@@ -0,0 +1,58 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_sound_sampled_FloatControl__
+#define __javax_sound_sampled_FloatControl__
+
+#pragma interface
+
+#include <javax/sound/sampled/Control.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace sampled
+ {
+ class FloatControl;
+ class FloatControl$Type;
+ }
+ }
+ }
+}
+
+class javax::sound::sampled::FloatControl : public ::javax::sound::sampled::Control
+{
+
+public: // actually protected
+ FloatControl(::javax::sound::sampled::FloatControl$Type *, jfloat, jfloat, jfloat, jint, jfloat, ::java::lang::String *);
+ FloatControl(::javax::sound::sampled::FloatControl$Type *, jfloat, jfloat, jfloat, jint, jfloat, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *);
+public:
+ virtual jfloat getMaximum();
+ virtual ::java::lang::String * getMaxLabel();
+ virtual ::java::lang::String * getMidLabel();
+ virtual jfloat getMinimum();
+ virtual ::java::lang::String * getMinLabel();
+ virtual jfloat getPrecision();
+ virtual ::java::lang::String * getUnits();
+ virtual jint getUpdatePeriod();
+ virtual jfloat getValue();
+ virtual void setValue(jfloat);
+ virtual void shift(jfloat, jfloat, jint);
+ virtual ::java::lang::String * toString();
+private:
+ jfloat __attribute__((aligned(__alignof__( ::javax::sound::sampled::Control)))) minimum;
+ jfloat maximum;
+ jfloat precision;
+ jint updatePeriod;
+ jfloat value;
+ ::java::lang::String * units;
+ ::java::lang::String * minLabel;
+ ::java::lang::String * maxLabel;
+ ::java::lang::String * midLabel;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_sound_sampled_FloatControl__
diff --git a/libjava/javax/sound/sampled/Line$Info.h b/libjava/javax/sound/sampled/Line$Info.h
new file mode 100644
index 000000000..982c02732
--- /dev/null
+++ b/libjava/javax/sound/sampled/Line$Info.h
@@ -0,0 +1,38 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_sound_sampled_Line$Info__
+#define __javax_sound_sampled_Line$Info__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace sampled
+ {
+ class Line$Info;
+ }
+ }
+ }
+}
+
+class javax::sound::sampled::Line$Info : public ::java::lang::Object
+{
+
+public:
+ Line$Info(::java::lang::Class *);
+ virtual ::java::lang::Class * getLineClass();
+ virtual jboolean matches(::javax::sound::sampled::Line$Info *);
+ virtual ::java::lang::String * toString();
+private:
+ ::java::lang::Class * __attribute__((aligned(__alignof__( ::java::lang::Object)))) klass;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_sound_sampled_Line$Info__
diff --git a/libjava/javax/sound/sampled/Line.h b/libjava/javax/sound/sampled/Line.h
new file mode 100644
index 000000000..7f6552d8d
--- /dev/null
+++ b/libjava/javax/sound/sampled/Line.h
@@ -0,0 +1,46 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_sound_sampled_Line__
+#define __javax_sound_sampled_Line__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace sampled
+ {
+ class Control;
+ class Control$Type;
+ class Line;
+ class Line$Info;
+ class LineListener;
+ }
+ }
+ }
+}
+
+class javax::sound::sampled::Line : public ::java::lang::Object
+{
+
+public:
+ virtual void addLineListener(::javax::sound::sampled::LineListener *) = 0;
+ virtual void close() = 0;
+ virtual ::javax::sound::sampled::Control * getControl(::javax::sound::sampled::Control$Type *) = 0;
+ virtual JArray< ::javax::sound::sampled::Control * > * getControls() = 0;
+ virtual ::javax::sound::sampled::Line$Info * getLineInfo() = 0;
+ virtual jboolean isControlSupported(::javax::sound::sampled::Control$Type *) = 0;
+ virtual jboolean isOpen() = 0;
+ virtual void open() = 0;
+ virtual void removeLineListener(::javax::sound::sampled::LineListener *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_sound_sampled_Line__
diff --git a/libjava/javax/sound/sampled/LineEvent$Type.h b/libjava/javax/sound/sampled/LineEvent$Type.h
new file mode 100644
index 000000000..c509deca2
--- /dev/null
+++ b/libjava/javax/sound/sampled/LineEvent$Type.h
@@ -0,0 +1,43 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_sound_sampled_LineEvent$Type__
+#define __javax_sound_sampled_LineEvent$Type__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace sampled
+ {
+ class LineEvent$Type;
+ }
+ }
+ }
+}
+
+class javax::sound::sampled::LineEvent$Type : public ::java::lang::Object
+{
+
+public: // actually protected
+ LineEvent$Type(::java::lang::String *);
+public:
+ virtual jboolean equals(::java::lang::Object *);
+ virtual jint hashCode();
+ virtual ::java::lang::String * toString();
+ static ::javax::sound::sampled::LineEvent$Type * CLOSE;
+ static ::javax::sound::sampled::LineEvent$Type * OPEN;
+ static ::javax::sound::sampled::LineEvent$Type * START;
+ static ::javax::sound::sampled::LineEvent$Type * STOP;
+private:
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_sound_sampled_LineEvent$Type__
diff --git a/libjava/javax/sound/sampled/LineEvent.h b/libjava/javax/sound/sampled/LineEvent.h
new file mode 100644
index 000000000..ccc90e25d
--- /dev/null
+++ b/libjava/javax/sound/sampled/LineEvent.h
@@ -0,0 +1,46 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_sound_sampled_LineEvent__
+#define __javax_sound_sampled_LineEvent__
+
+#pragma interface
+
+#include <java/util/EventObject.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace sampled
+ {
+ class Line;
+ class LineEvent;
+ class LineEvent$Type;
+ }
+ }
+ }
+}
+
+class javax::sound::sampled::LineEvent : public ::java::util::EventObject
+{
+
+public:
+ LineEvent(::javax::sound::sampled::Line *, ::javax::sound::sampled::LineEvent$Type *, jlong);
+ virtual jlong getFramePosition();
+ virtual ::javax::sound::sampled::Line * getLine();
+ virtual ::javax::sound::sampled::LineEvent$Type * getType();
+ virtual ::java::lang::String * toString();
+private:
+ void readObject(::java::io::ObjectInputStream *);
+ void writeObject(::java::io::ObjectOutputStream *);
+ static const jlong serialVersionUID = -1274246333383880410LL;
+ ::javax::sound::sampled::LineEvent$Type * __attribute__((aligned(__alignof__( ::java::util::EventObject)))) type;
+ jlong framePosition;
+ ::javax::sound::sampled::Line * line;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_sound_sampled_LineEvent__
diff --git a/libjava/javax/sound/sampled/LineListener.h b/libjava/javax/sound/sampled/LineListener.h
new file mode 100644
index 000000000..5abbde1a8
--- /dev/null
+++ b/libjava/javax/sound/sampled/LineListener.h
@@ -0,0 +1,33 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_sound_sampled_LineListener__
+#define __javax_sound_sampled_LineListener__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace sampled
+ {
+ class LineEvent;
+ class LineListener;
+ }
+ }
+ }
+}
+
+class javax::sound::sampled::LineListener : public ::java::lang::Object
+{
+
+public:
+ virtual void update(::javax::sound::sampled::LineEvent *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_sound_sampled_LineListener__
diff --git a/libjava/javax/sound/sampled/LineUnavailableException.h b/libjava/javax/sound/sampled/LineUnavailableException.h
new file mode 100644
index 000000000..a0068a6ec
--- /dev/null
+++ b/libjava/javax/sound/sampled/LineUnavailableException.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_sound_sampled_LineUnavailableException__
+#define __javax_sound_sampled_LineUnavailableException__
+
+#pragma interface
+
+#include <java/lang/Exception.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace sampled
+ {
+ class LineUnavailableException;
+ }
+ }
+ }
+}
+
+class javax::sound::sampled::LineUnavailableException : public ::java::lang::Exception
+{
+
+public:
+ LineUnavailableException();
+ LineUnavailableException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = -2046718279487432130LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_sound_sampled_LineUnavailableException__
diff --git a/libjava/javax/sound/sampled/Mixer$Info.h b/libjava/javax/sound/sampled/Mixer$Info.h
new file mode 100644
index 000000000..81ba18b1d
--- /dev/null
+++ b/libjava/javax/sound/sampled/Mixer$Info.h
@@ -0,0 +1,46 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_sound_sampled_Mixer$Info__
+#define __javax_sound_sampled_Mixer$Info__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace sampled
+ {
+ class Mixer$Info;
+ }
+ }
+ }
+}
+
+class javax::sound::sampled::Mixer$Info : public ::java::lang::Object
+{
+
+public: // actually protected
+ Mixer$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 * getDescription();
+ virtual ::java::lang::String * getVendor();
+ virtual ::java::lang::String * getVersion();
+ virtual ::java::lang::String * toString();
+private:
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name;
+ ::java::lang::String * description;
+ ::java::lang::String * vendor;
+ ::java::lang::String * version;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_sound_sampled_Mixer$Info__
diff --git a/libjava/javax/sound/sampled/Mixer.h b/libjava/javax/sound/sampled/Mixer.h
new file mode 100644
index 000000000..b0bd09559
--- /dev/null
+++ b/libjava/javax/sound/sampled/Mixer.h
@@ -0,0 +1,61 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_sound_sampled_Mixer__
+#define __javax_sound_sampled_Mixer__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace sampled
+ {
+ class Control;
+ class Control$Type;
+ class Line;
+ class Line$Info;
+ class LineListener;
+ class Mixer;
+ class Mixer$Info;
+ }
+ }
+ }
+}
+
+class javax::sound::sampled::Mixer : public ::java::lang::Object
+{
+
+public:
+ virtual ::javax::sound::sampled::Line * getLine(::javax::sound::sampled::Line$Info *) = 0;
+ virtual jint getMaxLines(::javax::sound::sampled::Line$Info *) = 0;
+ virtual ::javax::sound::sampled::Mixer$Info * getMixerInfo() = 0;
+ virtual JArray< ::javax::sound::sampled::Line$Info * > * getSourceLineInfo() = 0;
+ virtual JArray< ::javax::sound::sampled::Line$Info * > * getSourceLineInfo(::javax::sound::sampled::Line$Info *) = 0;
+ virtual JArray< ::javax::sound::sampled::Line * > * getSourceLines() = 0;
+ virtual JArray< ::javax::sound::sampled::Line$Info * > * getTargetLineInfo() = 0;
+ virtual JArray< ::javax::sound::sampled::Line$Info * > * getTargetLineInfo(::javax::sound::sampled::Line$Info *) = 0;
+ virtual JArray< ::javax::sound::sampled::Line * > * getTargetLines() = 0;
+ virtual jboolean isLineSupported(::javax::sound::sampled::Line$Info *) = 0;
+ virtual jboolean isSynchronizationSupported(JArray< ::javax::sound::sampled::Line * > *, jboolean) = 0;
+ virtual void synchronize(JArray< ::javax::sound::sampled::Line * > *, jboolean) = 0;
+ virtual void unsynchronize(JArray< ::javax::sound::sampled::Line * > *) = 0;
+ virtual void addLineListener(::javax::sound::sampled::LineListener *) = 0;
+ virtual void close() = 0;
+ virtual ::javax::sound::sampled::Control * getControl(::javax::sound::sampled::Control$Type *) = 0;
+ virtual JArray< ::javax::sound::sampled::Control * > * getControls() = 0;
+ virtual ::javax::sound::sampled::Line$Info * getLineInfo() = 0;
+ virtual jboolean isControlSupported(::javax::sound::sampled::Control$Type *) = 0;
+ virtual jboolean isOpen() = 0;
+ virtual void open() = 0;
+ virtual void removeLineListener(::javax::sound::sampled::LineListener *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_sound_sampled_Mixer__
diff --git a/libjava/javax/sound/sampled/Port$Info.h b/libjava/javax/sound/sampled/Port$Info.h
new file mode 100644
index 000000000..1635e27c3
--- /dev/null
+++ b/libjava/javax/sound/sampled/Port$Info.h
@@ -0,0 +1,49 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_sound_sampled_Port$Info__
+#define __javax_sound_sampled_Port$Info__
+
+#pragma interface
+
+#include <javax/sound/sampled/Line$Info.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace sampled
+ {
+ class Line$Info;
+ class Port$Info;
+ }
+ }
+ }
+}
+
+class javax::sound::sampled::Port$Info : public ::javax::sound::sampled::Line$Info
+{
+
+public:
+ Port$Info(::java::lang::Class *, ::java::lang::String *, jboolean);
+ virtual jboolean equals(::java::lang::Object *);
+ virtual jint hashCode();
+ virtual ::java::lang::String * getName();
+ virtual jboolean isSource();
+ virtual jboolean matches(::javax::sound::sampled::Line$Info *);
+ virtual ::java::lang::String * toString();
+ static ::javax::sound::sampled::Port$Info * COMPACT_DISC;
+ static ::javax::sound::sampled::Port$Info * HEADPHONE;
+ static ::javax::sound::sampled::Port$Info * LINE_IN;
+ static ::javax::sound::sampled::Port$Info * LINE_OUT;
+ static ::javax::sound::sampled::Port$Info * MICROPHONE;
+ static ::javax::sound::sampled::Port$Info * SPEAKER;
+private:
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::javax::sound::sampled::Line$Info)))) name;
+ jboolean isSource__;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_sound_sampled_Port$Info__
diff --git a/libjava/javax/sound/sampled/Port.h b/libjava/javax/sound/sampled/Port.h
new file mode 100644
index 000000000..4958786a9
--- /dev/null
+++ b/libjava/javax/sound/sampled/Port.h
@@ -0,0 +1,46 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_sound_sampled_Port__
+#define __javax_sound_sampled_Port__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace sampled
+ {
+ class Control;
+ class Control$Type;
+ class Line$Info;
+ class LineListener;
+ class Port;
+ }
+ }
+ }
+}
+
+class javax::sound::sampled::Port : public ::java::lang::Object
+{
+
+public:
+ virtual void addLineListener(::javax::sound::sampled::LineListener *) = 0;
+ virtual void close() = 0;
+ virtual ::javax::sound::sampled::Control * getControl(::javax::sound::sampled::Control$Type *) = 0;
+ virtual JArray< ::javax::sound::sampled::Control * > * getControls() = 0;
+ virtual ::javax::sound::sampled::Line$Info * getLineInfo() = 0;
+ virtual jboolean isControlSupported(::javax::sound::sampled::Control$Type *) = 0;
+ virtual jboolean isOpen() = 0;
+ virtual void open() = 0;
+ virtual void removeLineListener(::javax::sound::sampled::LineListener *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_sound_sampled_Port__
diff --git a/libjava/javax/sound/sampled/ReverbType.h b/libjava/javax/sound/sampled/ReverbType.h
new file mode 100644
index 000000000..acdf5142c
--- /dev/null
+++ b/libjava/javax/sound/sampled/ReverbType.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_sound_sampled_ReverbType__
+#define __javax_sound_sampled_ReverbType__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace sampled
+ {
+ class ReverbType;
+ }
+ }
+ }
+}
+
+class javax::sound::sampled::ReverbType : public ::java::lang::Object
+{
+
+public: // actually protected
+ ReverbType(::java::lang::String *, jint, jfloat, jint, jfloat, jint);
+public:
+ virtual jboolean equals(::java::lang::Object *);
+ virtual jint hashCode();
+ virtual jint getDecayTime();
+ virtual jint getEarlyReflectionDelay();
+ virtual jfloat getEarlyReflectionIntensity();
+ virtual jint getLateReflectionDelay();
+ virtual jfloat getLateReflectionIntensity();
+ virtual ::java::lang::String * getName();
+ virtual ::java::lang::String * toString();
+private:
+ ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name;
+ jint earlyReflectionDelay;
+ jfloat earlyReflectionIntensity;
+ jint lateReflectionDelay;
+ jfloat lateReflectionIntensity;
+ jint decayTime;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_sound_sampled_ReverbType__
diff --git a/libjava/javax/sound/sampled/SourceDataLine.h b/libjava/javax/sound/sampled/SourceDataLine.h
new file mode 100644
index 000000000..74b5e8076
--- /dev/null
+++ b/libjava/javax/sound/sampled/SourceDataLine.h
@@ -0,0 +1,63 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_sound_sampled_SourceDataLine__
+#define __javax_sound_sampled_SourceDataLine__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace sampled
+ {
+ class AudioFormat;
+ class Control;
+ class Control$Type;
+ class Line$Info;
+ class LineListener;
+ class SourceDataLine;
+ }
+ }
+ }
+}
+
+class javax::sound::sampled::SourceDataLine : public ::java::lang::Object
+{
+
+public:
+ virtual void open(::javax::sound::sampled::AudioFormat *) = 0;
+ virtual void open(::javax::sound::sampled::AudioFormat *, jint) = 0;
+ virtual jint write(JArray< jbyte > *, jint, jint) = 0;
+ virtual jint available() = 0;
+ virtual void drain() = 0;
+ virtual void flush() = 0;
+ virtual jint getBufferSize() = 0;
+ virtual ::javax::sound::sampled::AudioFormat * getFormat() = 0;
+ virtual jint getFramePosition() = 0;
+ virtual jfloat getLevel() = 0;
+ virtual jlong getLongFramePosition() = 0;
+ virtual jlong getMicrosecondPosition() = 0;
+ virtual jboolean isActive() = 0;
+ virtual jboolean isRunning() = 0;
+ virtual void start() = 0;
+ virtual void stop() = 0;
+ virtual void addLineListener(::javax::sound::sampled::LineListener *) = 0;
+ virtual void close() = 0;
+ virtual ::javax::sound::sampled::Control * getControl(::javax::sound::sampled::Control$Type *) = 0;
+ virtual JArray< ::javax::sound::sampled::Control * > * getControls() = 0;
+ virtual ::javax::sound::sampled::Line$Info * getLineInfo() = 0;
+ virtual jboolean isControlSupported(::javax::sound::sampled::Control$Type *) = 0;
+ virtual jboolean isOpen() = 0;
+ virtual void open() = 0;
+ virtual void removeLineListener(::javax::sound::sampled::LineListener *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_sound_sampled_SourceDataLine__
diff --git a/libjava/javax/sound/sampled/TargetDataLine.h b/libjava/javax/sound/sampled/TargetDataLine.h
new file mode 100644
index 000000000..183838986
--- /dev/null
+++ b/libjava/javax/sound/sampled/TargetDataLine.h
@@ -0,0 +1,63 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_sound_sampled_TargetDataLine__
+#define __javax_sound_sampled_TargetDataLine__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace sampled
+ {
+ class AudioFormat;
+ class Control;
+ class Control$Type;
+ class Line$Info;
+ class LineListener;
+ class TargetDataLine;
+ }
+ }
+ }
+}
+
+class javax::sound::sampled::TargetDataLine : public ::java::lang::Object
+{
+
+public:
+ virtual void open(::javax::sound::sampled::AudioFormat *) = 0;
+ virtual void open(::javax::sound::sampled::AudioFormat *, jint) = 0;
+ virtual jint read(JArray< jbyte > *, jint, jint) = 0;
+ virtual jint available() = 0;
+ virtual void drain() = 0;
+ virtual void flush() = 0;
+ virtual jint getBufferSize() = 0;
+ virtual ::javax::sound::sampled::AudioFormat * getFormat() = 0;
+ virtual jint getFramePosition() = 0;
+ virtual jfloat getLevel() = 0;
+ virtual jlong getLongFramePosition() = 0;
+ virtual jlong getMicrosecondPosition() = 0;
+ virtual jboolean isActive() = 0;
+ virtual jboolean isRunning() = 0;
+ virtual void start() = 0;
+ virtual void stop() = 0;
+ virtual void addLineListener(::javax::sound::sampled::LineListener *) = 0;
+ virtual void close() = 0;
+ virtual ::javax::sound::sampled::Control * getControl(::javax::sound::sampled::Control$Type *) = 0;
+ virtual JArray< ::javax::sound::sampled::Control * > * getControls() = 0;
+ virtual ::javax::sound::sampled::Line$Info * getLineInfo() = 0;
+ virtual jboolean isControlSupported(::javax::sound::sampled::Control$Type *) = 0;
+ virtual jboolean isOpen() = 0;
+ virtual void open() = 0;
+ virtual void removeLineListener(::javax::sound::sampled::LineListener *) = 0;
+ static ::java::lang::Class class$;
+} __attribute__ ((java_interface));
+
+#endif // __javax_sound_sampled_TargetDataLine__
diff --git a/libjava/javax/sound/sampled/UnsupportedAudioFileException.h b/libjava/javax/sound/sampled/UnsupportedAudioFileException.h
new file mode 100644
index 000000000..896c85a42
--- /dev/null
+++ b/libjava/javax/sound/sampled/UnsupportedAudioFileException.h
@@ -0,0 +1,36 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_sound_sampled_UnsupportedAudioFileException__
+#define __javax_sound_sampled_UnsupportedAudioFileException__
+
+#pragma interface
+
+#include <java/lang/Exception.h>
+extern "Java"
+{
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace sampled
+ {
+ class UnsupportedAudioFileException;
+ }
+ }
+ }
+}
+
+class javax::sound::sampled::UnsupportedAudioFileException : public ::java::lang::Exception
+{
+
+public:
+ UnsupportedAudioFileException();
+ UnsupportedAudioFileException(::java::lang::String *);
+private:
+ static const jlong serialVersionUID = -139127412623160368LL;
+public:
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_sound_sampled_UnsupportedAudioFileException__
diff --git a/libjava/javax/sound/sampled/spi/AudioFileReader.h b/libjava/javax/sound/sampled/spi/AudioFileReader.h
new file mode 100644
index 000000000..aab7d7d68
--- /dev/null
+++ b/libjava/javax/sound/sampled/spi/AudioFileReader.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_sound_sampled_spi_AudioFileReader__
+#define __javax_sound_sampled_spi_AudioFileReader__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class URL;
+ }
+ }
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace sampled
+ {
+ class AudioFileFormat;
+ class AudioInputStream;
+ namespace spi
+ {
+ class AudioFileReader;
+ }
+ }
+ }
+ }
+}
+
+class javax::sound::sampled::spi::AudioFileReader : public ::java::lang::Object
+{
+
+public:
+ AudioFileReader();
+ virtual ::javax::sound::sampled::AudioFileFormat * getAudioFileFormat(::java::io::File *) = 0;
+ virtual ::javax::sound::sampled::AudioFileFormat * getAudioFileFormat(::java::io::InputStream *) = 0;
+ virtual ::javax::sound::sampled::AudioFileFormat * getAudioFileFormat(::java::net::URL *) = 0;
+ virtual ::javax::sound::sampled::AudioInputStream * getAudioInputStream(::java::io::File *) = 0;
+ virtual ::javax::sound::sampled::AudioInputStream * getAudioInputStream(::java::io::InputStream *) = 0;
+ virtual ::javax::sound::sampled::AudioInputStream * getAudioInputStream(::java::net::URL *) = 0;
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_sound_sampled_spi_AudioFileReader__
diff --git a/libjava/javax/sound/sampled/spi/AudioFileWriter.h b/libjava/javax/sound/sampled/spi/AudioFileWriter.h
new file mode 100644
index 000000000..558e3daea
--- /dev/null
+++ b/libjava/javax/sound/sampled/spi/AudioFileWriter.h
@@ -0,0 +1,45 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_sound_sampled_spi_AudioFileWriter__
+#define __javax_sound_sampled_spi_AudioFileWriter__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace sampled
+ {
+ class AudioFileFormat$Type;
+ class AudioInputStream;
+ namespace spi
+ {
+ class AudioFileWriter;
+ }
+ }
+ }
+ }
+}
+
+class javax::sound::sampled::spi::AudioFileWriter : public ::java::lang::Object
+{
+
+public:
+ AudioFileWriter();
+ virtual JArray< ::javax::sound::sampled::AudioFileFormat$Type * > * getAudioFileTypes() = 0;
+ virtual JArray< ::javax::sound::sampled::AudioFileFormat$Type * > * getAudioFileTypes(::javax::sound::sampled::AudioInputStream *) = 0;
+ virtual jboolean isFileTypeSupported(::javax::sound::sampled::AudioFileFormat$Type *);
+ virtual jboolean isFileTypeSupported(::javax::sound::sampled::AudioFileFormat$Type *, ::javax::sound::sampled::AudioInputStream *);
+ virtual jint write(::javax::sound::sampled::AudioInputStream *, ::javax::sound::sampled::AudioFileFormat$Type *, ::java::io::File *) = 0;
+ virtual jint write(::javax::sound::sampled::AudioInputStream *, ::javax::sound::sampled::AudioFileFormat$Type *, ::java::io::OutputStream *) = 0;
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_sound_sampled_spi_AudioFileWriter__
diff --git a/libjava/javax/sound/sampled/spi/FormatConversionProvider.h b/libjava/javax/sound/sampled/spi/FormatConversionProvider.h
new file mode 100644
index 000000000..e00ccac45
--- /dev/null
+++ b/libjava/javax/sound/sampled/spi/FormatConversionProvider.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_sound_sampled_spi_FormatConversionProvider__
+#define __javax_sound_sampled_spi_FormatConversionProvider__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace sampled
+ {
+ class AudioFormat;
+ class AudioFormat$Encoding;
+ class AudioInputStream;
+ namespace spi
+ {
+ class FormatConversionProvider;
+ }
+ }
+ }
+ }
+}
+
+class javax::sound::sampled::spi::FormatConversionProvider : public ::java::lang::Object
+{
+
+public:
+ FormatConversionProvider();
+ virtual ::javax::sound::sampled::AudioInputStream * getAudioInputStream(::javax::sound::sampled::AudioFormat$Encoding *, ::javax::sound::sampled::AudioInputStream *) = 0;
+ virtual ::javax::sound::sampled::AudioInputStream * getAudioInputStream(::javax::sound::sampled::AudioFormat *, ::javax::sound::sampled::AudioInputStream *) = 0;
+ virtual JArray< ::javax::sound::sampled::AudioFormat$Encoding * > * getSourceEncodings() = 0;
+ virtual JArray< ::javax::sound::sampled::AudioFormat$Encoding * > * getTargetEncodings() = 0;
+ virtual JArray< ::javax::sound::sampled::AudioFormat$Encoding * > * getTargetEncodings(::javax::sound::sampled::AudioFormat *) = 0;
+ virtual JArray< ::javax::sound::sampled::AudioFormat * > * getTargetFormats(::javax::sound::sampled::AudioFormat$Encoding *, ::javax::sound::sampled::AudioFormat *) = 0;
+ virtual jboolean isConversionSupported(::javax::sound::sampled::AudioFormat$Encoding *, ::javax::sound::sampled::AudioFormat *);
+ virtual jboolean isConversionSupported(::javax::sound::sampled::AudioFormat *, ::javax::sound::sampled::AudioFormat *);
+ virtual jboolean isSourceEncodingSupported(::javax::sound::sampled::AudioFormat$Encoding *);
+ virtual jboolean isTargetEncodingSupported(::javax::sound::sampled::AudioFormat$Encoding *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_sound_sampled_spi_FormatConversionProvider__
diff --git a/libjava/javax/sound/sampled/spi/MixerProvider.h b/libjava/javax/sound/sampled/spi/MixerProvider.h
new file mode 100644
index 000000000..50fc476d0
--- /dev/null
+++ b/libjava/javax/sound/sampled/spi/MixerProvider.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_sound_sampled_spi_MixerProvider__
+#define __javax_sound_sampled_spi_MixerProvider__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace sampled
+ {
+ class Mixer;
+ class Mixer$Info;
+ namespace spi
+ {
+ class MixerProvider;
+ }
+ }
+ }
+ }
+}
+
+class javax::sound::sampled::spi::MixerProvider : public ::java::lang::Object
+{
+
+public:
+ MixerProvider();
+ virtual ::javax::sound::sampled::Mixer * getMixer(::javax::sound::sampled::Mixer$Info *) = 0;
+ virtual JArray< ::javax::sound::sampled::Mixer$Info * > * getMixerInfo() = 0;
+ virtual jboolean isMixerSupported(::javax::sound::sampled::Mixer$Info *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_sound_sampled_spi_MixerProvider__