diff options
Diffstat (limited to 'libjava/gnu/javax/sound')
45 files changed, 2696 insertions, 0 deletions
diff --git a/libjava/gnu/javax/sound/AudioSecurityManager$Permission.h b/libjava/gnu/javax/sound/AudioSecurityManager$Permission.h new file mode 100644 index 000000000..d8f353609 --- /dev/null +++ b/libjava/gnu/javax/sound/AudioSecurityManager$Permission.h @@ -0,0 +1,42 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_sound_AudioSecurityManager$Permission__ +#define __gnu_javax_sound_AudioSecurityManager$Permission__ + +#pragma interface + +#include <java/lang/Enum.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace sound + { + class AudioSecurityManager$Permission; + } + } + } +} + +class gnu::javax::sound::AudioSecurityManager$Permission : public ::java::lang::Enum +{ + + AudioSecurityManager$Permission(::java::lang::String *, jint); +public: + static JArray< ::gnu::javax::sound::AudioSecurityManager$Permission * > * values(); + static ::gnu::javax::sound::AudioSecurityManager$Permission * valueOf(::java::lang::String *); + static ::gnu::javax::sound::AudioSecurityManager$Permission * PLAY; + static ::gnu::javax::sound::AudioSecurityManager$Permission * RECORD; + static ::gnu::javax::sound::AudioSecurityManager$Permission * ALL; +private: + static JArray< ::gnu::javax::sound::AudioSecurityManager$Permission * > * ENUM$VALUES; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_sound_AudioSecurityManager$Permission__ diff --git a/libjava/gnu/javax/sound/AudioSecurityManager.h b/libjava/gnu/javax/sound/AudioSecurityManager.h new file mode 100644 index 000000000..9d0ec83e8 --- /dev/null +++ b/libjava/gnu/javax/sound/AudioSecurityManager.h @@ -0,0 +1,42 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_sound_AudioSecurityManager__ +#define __gnu_javax_sound_AudioSecurityManager__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace sound + { + class AudioSecurityManager; + class AudioSecurityManager$Permission; + } + } + } +} + +class gnu::javax::sound::AudioSecurityManager : public ::java::lang::Object +{ + +public: + AudioSecurityManager(); + static void checkPermissions(); + static void checkPermissions(::gnu::javax::sound::AudioSecurityManager$Permission *); +public: // actually package-private + static JArray< jint > * $SWITCH_TABLE$gnu$javax$sound$AudioSecurityManager$Permission(); +private: + static JArray< jint > * $SWITCH_TABLE$gnu$javax$sound$AudioSecurityManager$Permission__; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_sound_AudioSecurityManager__ diff --git a/libjava/gnu/javax/sound/midi/alsa/AlsaInputPortDevice.h b/libjava/gnu/javax/sound/midi/alsa/AlsaInputPortDevice.h new file mode 100644 index 000000000..cb7291dae --- /dev/null +++ b/libjava/gnu/javax/sound/midi/alsa/AlsaInputPortDevice.h @@ -0,0 +1,59 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_sound_midi_alsa_AlsaInputPortDevice__ +#define __gnu_javax_sound_midi_alsa_AlsaInputPortDevice__ + +#pragma interface + +#include <gnu/javax/sound/midi/alsa/AlsaPortDevice.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace sound + { + namespace midi + { + namespace alsa + { + class AlsaInputPortDevice; + class AlsaMidiDeviceProvider$AlsaPortInfo; + } + } + } + } + } + namespace javax + { + namespace sound + { + namespace midi + { + class Receiver; + class Transmitter; + } + } + } +} + +class gnu::javax::sound::midi::alsa::AlsaInputPortDevice : public ::gnu::javax::sound::midi::alsa::AlsaPortDevice +{ + +public: // actually package-private + AlsaInputPortDevice(::gnu::javax::sound::midi::alsa::AlsaMidiDeviceProvider$AlsaPortInfo *); +public: + virtual void open(); + virtual void close(); + virtual jboolean isOpen(); + virtual jlong getMicrosecondPosition(); + virtual jint getMaxReceivers(); + virtual jint getMaxTransmitters(); + virtual ::javax::sound::midi::Receiver * getReceiver(); + virtual ::javax::sound::midi::Transmitter * getTransmitter(); + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_sound_midi_alsa_AlsaInputPortDevice__ diff --git a/libjava/gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider$AlsaInfo.h b/libjava/gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider$AlsaInfo.h new file mode 100644 index 000000000..fb7a22385 --- /dev/null +++ b/libjava/gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider$AlsaInfo.h @@ -0,0 +1,51 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider$AlsaInfo__ +#define __gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider$AlsaInfo__ + +#pragma interface + +#include <javax/sound/midi/MidiDevice$Info.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace sound + { + namespace midi + { + namespace alsa + { + class AlsaMidiDeviceProvider$AlsaInfo; + } + } + } + } + } + namespace javax + { + namespace sound + { + namespace midi + { + class MidiDevice; + } + } + } +} + +class gnu::javax::sound::midi::alsa::AlsaMidiDeviceProvider$AlsaInfo : public ::javax::sound::midi::MidiDevice$Info +{ + +public: + AlsaMidiDeviceProvider$AlsaInfo(::java::lang::String *, ::java::lang::String *); +public: // actually package-private + virtual ::javax::sound::midi::MidiDevice * getDevice() = 0; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider$AlsaInfo__ diff --git a/libjava/gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider$AlsaInputPortInfo.h b/libjava/gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider$AlsaInputPortInfo.h new file mode 100644 index 000000000..51bab4a40 --- /dev/null +++ b/libjava/gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider$AlsaInputPortInfo.h @@ -0,0 +1,51 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider$AlsaInputPortInfo__ +#define __gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider$AlsaInputPortInfo__ + +#pragma interface + +#include <gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider$AlsaPortInfo.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace sound + { + namespace midi + { + namespace alsa + { + class AlsaMidiDeviceProvider$AlsaInputPortInfo; + } + } + } + } + } + namespace javax + { + namespace sound + { + namespace midi + { + class MidiDevice; + } + } + } +} + +class gnu::javax::sound::midi::alsa::AlsaMidiDeviceProvider$AlsaInputPortInfo : public ::gnu::javax::sound::midi::alsa::AlsaMidiDeviceProvider$AlsaPortInfo +{ + +public: + AlsaMidiDeviceProvider$AlsaInputPortInfo(::java::lang::String *, ::java::lang::String *, jlong, jlong); +public: // actually package-private + virtual ::javax::sound::midi::MidiDevice * getDevice(); +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider$AlsaInputPortInfo__ diff --git a/libjava/gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider$AlsaOutputPortInfo.h b/libjava/gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider$AlsaOutputPortInfo.h new file mode 100644 index 000000000..c37627bbf --- /dev/null +++ b/libjava/gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider$AlsaOutputPortInfo.h @@ -0,0 +1,51 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider$AlsaOutputPortInfo__ +#define __gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider$AlsaOutputPortInfo__ + +#pragma interface + +#include <gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider$AlsaPortInfo.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace sound + { + namespace midi + { + namespace alsa + { + class AlsaMidiDeviceProvider$AlsaOutputPortInfo; + } + } + } + } + } + namespace javax + { + namespace sound + { + namespace midi + { + class MidiDevice; + } + } + } +} + +class gnu::javax::sound::midi::alsa::AlsaMidiDeviceProvider$AlsaOutputPortInfo : public ::gnu::javax::sound::midi::alsa::AlsaMidiDeviceProvider$AlsaPortInfo +{ + +public: + AlsaMidiDeviceProvider$AlsaOutputPortInfo(::java::lang::String *, ::java::lang::String *, jlong, jlong); +public: // actually package-private + virtual ::javax::sound::midi::MidiDevice * getDevice(); +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider$AlsaOutputPortInfo__ diff --git a/libjava/gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider$AlsaPortInfo.h b/libjava/gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider$AlsaPortInfo.h new file mode 100644 index 000000000..b7c2f6400 --- /dev/null +++ b/libjava/gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider$AlsaPortInfo.h @@ -0,0 +1,42 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider$AlsaPortInfo__ +#define __gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider$AlsaPortInfo__ + +#pragma interface + +#include <gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider$AlsaInfo.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace sound + { + namespace midi + { + namespace alsa + { + class AlsaMidiDeviceProvider$AlsaPortInfo; + } + } + } + } + } +} + +class gnu::javax::sound::midi::alsa::AlsaMidiDeviceProvider$AlsaPortInfo : public ::gnu::javax::sound::midi::alsa::AlsaMidiDeviceProvider$AlsaInfo +{ + +public: + AlsaMidiDeviceProvider$AlsaPortInfo(::java::lang::String *, ::java::lang::String *, jlong, jlong); +public: // actually package-private + jlong __attribute__((aligned(__alignof__( ::gnu::javax::sound::midi::alsa::AlsaMidiDeviceProvider$AlsaInfo)))) client; + jlong port; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider$AlsaPortInfo__ diff --git a/libjava/gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider$AlsaSequencerInfo.h b/libjava/gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider$AlsaSequencerInfo.h new file mode 100644 index 000000000..f1586dfaa --- /dev/null +++ b/libjava/gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider$AlsaSequencerInfo.h @@ -0,0 +1,51 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider$AlsaSequencerInfo__ +#define __gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider$AlsaSequencerInfo__ + +#pragma interface + +#include <gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider$AlsaInfo.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace sound + { + namespace midi + { + namespace alsa + { + class AlsaMidiDeviceProvider$AlsaSequencerInfo; + } + } + } + } + } + namespace javax + { + namespace sound + { + namespace midi + { + class MidiDevice; + } + } + } +} + +class gnu::javax::sound::midi::alsa::AlsaMidiDeviceProvider$AlsaSequencerInfo : public ::gnu::javax::sound::midi::alsa::AlsaMidiDeviceProvider$AlsaInfo +{ + +public: + AlsaMidiDeviceProvider$AlsaSequencerInfo(::java::lang::String *, ::java::lang::String *); +public: // actually package-private + virtual ::javax::sound::midi::MidiDevice * getDevice(); +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider$AlsaSequencerInfo__ diff --git a/libjava/gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider.h b/libjava/gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider.h new file mode 100644 index 000000000..a1d2884ed --- /dev/null +++ b/libjava/gnu/javax/sound/midi/alsa/AlsaMidiDeviceProvider.h @@ -0,0 +1,60 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider__ +#define __gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider__ + +#pragma interface + +#include <javax/sound/midi/spi/MidiDeviceProvider.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace sound + { + namespace midi + { + namespace alsa + { + class AlsaMidiDeviceProvider; + class AlsaMidiDeviceProvider$AlsaInfo; + } + } + } + } + } + namespace javax + { + namespace sound + { + namespace midi + { + class MidiDevice; + class MidiDevice$Info; + } + } + } +} + +class gnu::javax::sound::midi::alsa::AlsaMidiDeviceProvider : public ::javax::sound::midi::spi::MidiDeviceProvider +{ + + static JArray< ::gnu::javax::sound::midi::alsa::AlsaMidiDeviceProvider$AlsaInfo * > * getInputDeviceInfo_(); + static JArray< ::gnu::javax::sound::midi::alsa::AlsaMidiDeviceProvider$AlsaInfo * > * getOutputDeviceInfo_(); + static void init_(); +public: + AlsaMidiDeviceProvider(); + virtual JArray< ::javax::sound::midi::MidiDevice$Info * > * getDeviceInfo(); + virtual ::javax::sound::midi::MidiDevice * getDevice(::javax::sound::midi::MidiDevice$Info *); +private: + static JArray< ::gnu::javax::sound::midi::alsa::AlsaMidiDeviceProvider$AlsaInfo * > * infos; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider__ diff --git a/libjava/gnu/javax/sound/midi/alsa/AlsaMidiSequencerDevice.h b/libjava/gnu/javax/sound/midi/alsa/AlsaMidiSequencerDevice.h new file mode 100644 index 000000000..5317a9970 --- /dev/null +++ b/libjava/gnu/javax/sound/midi/alsa/AlsaMidiSequencerDevice.h @@ -0,0 +1,112 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice__ +#define __gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace sound + { + namespace midi + { + namespace alsa + { + class AlsaMidiSequencerDevice; + } + } + } + } + } + namespace javax + { + namespace sound + { + namespace midi + { + class ControllerEventListener; + class MetaEventListener; + class MidiDevice$Info; + class Receiver; + class Sequence; + class Sequencer$SyncMode; + class Track; + class Transmitter; + } + } + } +} + +class gnu::javax::sound::midi::alsa::AlsaMidiSequencerDevice : public ::java::lang::Object +{ + + AlsaMidiSequencerDevice(); +public: + static ::gnu::javax::sound::midi::alsa::AlsaMidiSequencerDevice * getInstance(); + virtual void setSequence(::javax::sound::midi::Sequence *); + virtual void setSequence(::java::io::InputStream *); + virtual ::javax::sound::midi::Sequence * getSequence(); + virtual void start(); + virtual void stop(); + virtual jboolean isRunning(); + virtual void startRecording(); + virtual void stopRecording(); + virtual jboolean isRecording(); + virtual void recordEnable(::javax::sound::midi::Track *, jint); + virtual void recordDisable(::javax::sound::midi::Track *); + virtual jfloat getTempoInBPM(); + virtual void setTempoInBPM(jfloat); + virtual jfloat getTempoInMPQ(); + virtual void setTempoInMPQ(jfloat); + virtual void setTempoFactor(jfloat); + virtual jfloat getTempoFactor(); + virtual jlong getTickLength(); + virtual jlong getTickPosition(); + virtual void setTickPosition(jlong); + virtual jlong getMicrosecondLength(); + virtual jlong getMicrosecondPosition(); + virtual void setMicrosecondPosition(jlong); + virtual void setMasterSyncMode(::javax::sound::midi::Sequencer$SyncMode *); + virtual ::javax::sound::midi::Sequencer$SyncMode * getMasterSyncMode(); + virtual JArray< ::javax::sound::midi::Sequencer$SyncMode * > * getMasterSyncModes(); + virtual void setSlaveSyncMode(::javax::sound::midi::Sequencer$SyncMode *); + virtual ::javax::sound::midi::Sequencer$SyncMode * getSlaveSyncMode(); + virtual JArray< ::javax::sound::midi::Sequencer$SyncMode * > * getSlaveSyncModes(); + virtual void setTrackMute(jint, jboolean); + virtual jboolean getTrackMute(jint); + virtual void setTrackSolo(jint, jboolean); + virtual jboolean getTrackSolo(jint); + virtual jboolean addMetaEventListener(::javax::sound::midi::MetaEventListener *); + virtual void removeMetaEventListener(::javax::sound::midi::MetaEventListener *); + virtual JArray< jint > * addControllerEventListener(::javax::sound::midi::ControllerEventListener *, JArray< jint > *); + virtual JArray< jint > * removeControllerEventListener(::javax::sound::midi::ControllerEventListener *, JArray< jint > *); + virtual ::javax::sound::midi::MidiDevice$Info * getDeviceInfo(); + virtual void open(); +private: + jlong open_(); + void close_(jlong); +public: + virtual void close(); + virtual jboolean isOpen(); + virtual jint getMaxReceivers(); + virtual jint getMaxTransmitters(); + virtual ::javax::sound::midi::Receiver * getReceiver(); + virtual ::javax::sound::midi::Transmitter * getTransmitter(); + static ::gnu::javax::sound::midi::alsa::AlsaMidiSequencerDevice * instance; +private: + jlong __attribute__((aligned(__alignof__( ::java::lang::Object)))) nativeState; + ::javax::sound::midi::Sequence * sequence; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice__ diff --git a/libjava/gnu/javax/sound/midi/alsa/AlsaOutputPortDevice.h b/libjava/gnu/javax/sound/midi/alsa/AlsaOutputPortDevice.h new file mode 100644 index 000000000..0f7718d92 --- /dev/null +++ b/libjava/gnu/javax/sound/midi/alsa/AlsaOutputPortDevice.h @@ -0,0 +1,59 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_sound_midi_alsa_AlsaOutputPortDevice__ +#define __gnu_javax_sound_midi_alsa_AlsaOutputPortDevice__ + +#pragma interface + +#include <gnu/javax/sound/midi/alsa/AlsaPortDevice.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace sound + { + namespace midi + { + namespace alsa + { + class AlsaMidiDeviceProvider$AlsaPortInfo; + class AlsaOutputPortDevice; + } + } + } + } + } + namespace javax + { + namespace sound + { + namespace midi + { + class Receiver; + class Transmitter; + } + } + } +} + +class gnu::javax::sound::midi::alsa::AlsaOutputPortDevice : public ::gnu::javax::sound::midi::alsa::AlsaPortDevice +{ + +public: // actually package-private + AlsaOutputPortDevice(::gnu::javax::sound::midi::alsa::AlsaMidiDeviceProvider$AlsaPortInfo *); +public: + virtual void open(); + virtual void close(); + virtual jboolean isOpen(); + virtual jlong getMicrosecondPosition(); + virtual jint getMaxReceivers(); + virtual jint getMaxTransmitters(); + virtual ::javax::sound::midi::Receiver * getReceiver(); + virtual ::javax::sound::midi::Transmitter * getTransmitter(); + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_sound_midi_alsa_AlsaOutputPortDevice__ diff --git a/libjava/gnu/javax/sound/midi/alsa/AlsaPortDevice$AlsaReceiver.h b/libjava/gnu/javax/sound/midi/alsa/AlsaPortDevice$AlsaReceiver.h new file mode 100644 index 000000000..8e23df85e --- /dev/null +++ b/libjava/gnu/javax/sound/midi/alsa/AlsaPortDevice$AlsaReceiver.h @@ -0,0 +1,54 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_sound_midi_alsa_AlsaPortDevice$AlsaReceiver__ +#define __gnu_javax_sound_midi_alsa_AlsaPortDevice$AlsaReceiver__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace sound + { + namespace midi + { + namespace alsa + { + class AlsaPortDevice; + class AlsaPortDevice$AlsaReceiver; + } + } + } + } + } + namespace javax + { + namespace sound + { + namespace midi + { + class MidiMessage; + } + } + } +} + +class gnu::javax::sound::midi::alsa::AlsaPortDevice$AlsaReceiver : public ::java::lang::Object +{ + +public: + AlsaPortDevice$AlsaReceiver(::gnu::javax::sound::midi::alsa::AlsaPortDevice *); + virtual void send(::javax::sound::midi::MidiMessage *, jlong); + virtual void close(); +public: // actually package-private + ::gnu::javax::sound::midi::alsa::AlsaPortDevice * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_sound_midi_alsa_AlsaPortDevice$AlsaReceiver__ diff --git a/libjava/gnu/javax/sound/midi/alsa/AlsaPortDevice$AlsaTransmitter.h b/libjava/gnu/javax/sound/midi/alsa/AlsaPortDevice$AlsaTransmitter.h new file mode 100644 index 000000000..f88cadcf1 --- /dev/null +++ b/libjava/gnu/javax/sound/midi/alsa/AlsaPortDevice$AlsaTransmitter.h @@ -0,0 +1,59 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_sound_midi_alsa_AlsaPortDevice$AlsaTransmitter__ +#define __gnu_javax_sound_midi_alsa_AlsaPortDevice$AlsaTransmitter__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace sound + { + namespace midi + { + namespace alsa + { + class AlsaPortDevice; + class AlsaPortDevice$AlsaTransmitter; + } + } + } + } + } + namespace javax + { + namespace sound + { + namespace midi + { + class Receiver; + } + } + } +} + +class gnu::javax::sound::midi::alsa::AlsaPortDevice$AlsaTransmitter : public ::java::lang::Object +{ + +public: // actually protected + AlsaPortDevice$AlsaTransmitter(::gnu::javax::sound::midi::alsa::AlsaPortDevice *); +public: + virtual void run(); + virtual void setReceiver(::javax::sound::midi::Receiver *); + virtual ::javax::sound::midi::Receiver * getReceiver(); + virtual void close(); +private: + ::javax::sound::midi::Receiver * __attribute__((aligned(__alignof__( ::java::lang::Object)))) receiver; +public: // actually package-private + ::gnu::javax::sound::midi::alsa::AlsaPortDevice * this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_sound_midi_alsa_AlsaPortDevice$AlsaTransmitter__ diff --git a/libjava/gnu/javax/sound/midi/alsa/AlsaPortDevice.h b/libjava/gnu/javax/sound/midi/alsa/AlsaPortDevice.h new file mode 100644 index 000000000..351bd7099 --- /dev/null +++ b/libjava/gnu/javax/sound/midi/alsa/AlsaPortDevice.h @@ -0,0 +1,66 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_sound_midi_alsa_AlsaPortDevice__ +#define __gnu_javax_sound_midi_alsa_AlsaPortDevice__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace sound + { + namespace midi + { + namespace alsa + { + class AlsaMidiDeviceProvider$AlsaPortInfo; + class AlsaPortDevice; + } + } + } + } + } + namespace javax + { + namespace sound + { + namespace midi + { + class MidiDevice$Info; + class Receiver; + class Transmitter; + } + } + } +} + +class gnu::javax::sound::midi::alsa::AlsaPortDevice : public ::java::lang::Object +{ + +public: + AlsaPortDevice(::gnu::javax::sound::midi::alsa::AlsaMidiDeviceProvider$AlsaPortInfo *); + virtual ::javax::sound::midi::MidiDevice$Info * getDeviceInfo(); +public: // actually package-private + virtual void run_receiver_thread_(jlong, jlong, ::javax::sound::midi::Receiver *); +public: + virtual void open() = 0; + virtual void close() = 0; + virtual jboolean isOpen() = 0; + virtual jlong getMicrosecondPosition() = 0; + virtual jint getMaxReceivers() = 0; + virtual jint getMaxTransmitters() = 0; + virtual ::javax::sound::midi::Receiver * getReceiver() = 0; + virtual ::javax::sound::midi::Transmitter * getTransmitter() = 0; +public: // actually package-private + ::gnu::javax::sound::midi::alsa::AlsaMidiDeviceProvider$AlsaPortInfo * __attribute__((aligned(__alignof__( ::java::lang::Object)))) info; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_sound_midi_alsa_AlsaPortDevice__ diff --git a/libjava/gnu/javax/sound/midi/dssi/DSSIMidiDeviceProvider$1.h b/libjava/gnu/javax/sound/midi/dssi/DSSIMidiDeviceProvider$1.h new file mode 100644 index 000000000..e6613c333 --- /dev/null +++ b/libjava/gnu/javax/sound/midi/dssi/DSSIMidiDeviceProvider$1.h @@ -0,0 +1,40 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider$1__ +#define __gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider$1__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace sound + { + namespace midi + { + namespace dssi + { + class DSSIMidiDeviceProvider$1; + } + } + } + } + } +} + +class gnu::javax::sound::midi::dssi::DSSIMidiDeviceProvider$1 : public ::java::lang::Object +{ + +public: // actually package-private + DSSIMidiDeviceProvider$1(); +public: + virtual jboolean accept(::java::io::File *, ::java::lang::String *); + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider$1__ diff --git a/libjava/gnu/javax/sound/midi/dssi/DSSIMidiDeviceProvider$DSSIInfo.h b/libjava/gnu/javax/sound/midi/dssi/DSSIMidiDeviceProvider$DSSIInfo.h new file mode 100644 index 000000000..a5f7a82ed --- /dev/null +++ b/libjava/gnu/javax/sound/midi/dssi/DSSIMidiDeviceProvider$DSSIInfo.h @@ -0,0 +1,42 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider$DSSIInfo__ +#define __gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider$DSSIInfo__ + +#pragma interface + +#include <javax/sound/midi/MidiDevice$Info.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace sound + { + namespace midi + { + namespace dssi + { + class DSSIMidiDeviceProvider$DSSIInfo; + } + } + } + } + } +} + +class gnu::javax::sound::midi::dssi::DSSIMidiDeviceProvider$DSSIInfo : public ::javax::sound::midi::MidiDevice$Info +{ + +public: + DSSIMidiDeviceProvider$DSSIInfo(::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, jlong); +public: // actually package-private + ::java::lang::String * __attribute__((aligned(__alignof__( ::javax::sound::midi::MidiDevice$Info)))) soname; + jlong index; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider$DSSIInfo__ diff --git a/libjava/gnu/javax/sound/midi/dssi/DSSIMidiDeviceProvider.h b/libjava/gnu/javax/sound/midi/dssi/DSSIMidiDeviceProvider.h new file mode 100644 index 000000000..3cf346a3f --- /dev/null +++ b/libjava/gnu/javax/sound/midi/dssi/DSSIMidiDeviceProvider.h @@ -0,0 +1,67 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider__ +#define __gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider__ + +#pragma interface + +#include <javax/sound/midi/spi/MidiDeviceProvider.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace sound + { + namespace midi + { + namespace dssi + { + class DSSIMidiDeviceProvider; + class DSSIMidiDeviceProvider$DSSIInfo; + } + } + } + } + } + namespace javax + { + namespace sound + { + namespace midi + { + class MidiDevice; + class MidiDevice$Info; + } + } + } +} + +class gnu::javax::sound::midi::dssi::DSSIMidiDeviceProvider : public ::javax::sound::midi::spi::MidiDeviceProvider +{ + +public: // actually package-private + static jlong dlopen_(::java::lang::String *); + static void dlclose_(jlong); + static jlong getDSSIHandle_(jlong, jlong); + static ::java::lang::String * getDSSIName_(jlong); + static ::java::lang::String * getDSSICopyright_(jlong); + static ::java::lang::String * getDSSIVendor_(jlong); + static ::java::lang::String * getDSSILabel_(jlong); +private: + static ::java::util::List * examineLibrary(::java::lang::String *); +public: + DSSIMidiDeviceProvider(); + virtual JArray< ::javax::sound::midi::MidiDevice$Info * > * getDeviceInfo(); + virtual ::javax::sound::midi::MidiDevice * getDevice(::javax::sound::midi::MidiDevice$Info *); +private: + static JArray< ::gnu::javax::sound::midi::dssi::DSSIMidiDeviceProvider$DSSIInfo * > * infos; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider__ diff --git a/libjava/gnu/javax/sound/midi/dssi/DSSISynthesizer$DSSIInstrument.h b/libjava/gnu/javax/sound/midi/dssi/DSSISynthesizer$DSSIInstrument.h new file mode 100644 index 000000000..48167354b --- /dev/null +++ b/libjava/gnu/javax/sound/midi/dssi/DSSISynthesizer$DSSIInstrument.h @@ -0,0 +1,55 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_sound_midi_dssi_DSSISynthesizer$DSSIInstrument__ +#define __gnu_javax_sound_midi_dssi_DSSISynthesizer$DSSIInstrument__ + +#pragma interface + +#include <javax/sound/midi/Instrument.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace sound + { + namespace midi + { + namespace dssi + { + class DSSISynthesizer; + class DSSISynthesizer$DSSIInstrument; + } + } + } + } + } + namespace javax + { + namespace sound + { + namespace midi + { + class Patch; + class Soundbank; + } + } + } +} + +class gnu::javax::sound::midi::dssi::DSSISynthesizer$DSSIInstrument : public ::javax::sound::midi::Instrument +{ + +public: // actually package-private + DSSISynthesizer$DSSIInstrument(::gnu::javax::sound::midi::dssi::DSSISynthesizer *, ::javax::sound::midi::Soundbank *, ::javax::sound::midi::Patch *, ::java::lang::String *); +public: + virtual ::java::lang::Object * getData(); +public: // actually package-private + ::gnu::javax::sound::midi::dssi::DSSISynthesizer * __attribute__((aligned(__alignof__( ::javax::sound::midi::Instrument)))) this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_sound_midi_dssi_DSSISynthesizer$DSSIInstrument__ diff --git a/libjava/gnu/javax/sound/midi/dssi/DSSISynthesizer$DSSIMidiChannel.h b/libjava/gnu/javax/sound/midi/dssi/DSSISynthesizer$DSSIMidiChannel.h new file mode 100644 index 000000000..733eb3857 --- /dev/null +++ b/libjava/gnu/javax/sound/midi/dssi/DSSISynthesizer$DSSIMidiChannel.h @@ -0,0 +1,69 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_sound_midi_dssi_DSSISynthesizer$DSSIMidiChannel__ +#define __gnu_javax_sound_midi_dssi_DSSISynthesizer$DSSIMidiChannel__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace sound + { + namespace midi + { + namespace dssi + { + class DSSISynthesizer; + class DSSISynthesizer$DSSIMidiChannel; + } + } + } + } + } +} + +class gnu::javax::sound::midi::dssi::DSSISynthesizer$DSSIMidiChannel : public ::java::lang::Object +{ + +public: + DSSISynthesizer$DSSIMidiChannel(::gnu::javax::sound::midi::dssi::DSSISynthesizer *, jint); + virtual void noteOn(jint, jint); + virtual void noteOff(jint, jint); + virtual void noteOff(jint); + virtual void setPolyPressure(jint, jint); + virtual jint getPolyPressure(jint); + virtual void setChannelPressure(jint); + virtual jint getChannelPressure(); + virtual void controlChange(jint, jint); + virtual jint getController(jint); + virtual void programChange(jint); + virtual void programChange(jint, jint); + virtual jint getProgram(); + virtual void setPitchBend(jint); + virtual jint getPitchBend(); + virtual void resetAllControllers(); + virtual void allNotesOff(); + virtual void allSoundOff(); + virtual jboolean localControl(jboolean); + virtual void setMono(jboolean); + virtual jboolean getMono(); + virtual void setOmni(jboolean); + virtual jboolean getOmni(); + virtual void setMute(jboolean); + virtual jboolean getMute(); + virtual void setSolo(jboolean); + virtual jboolean getSolo(); +public: // actually package-private + jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) channel; + ::gnu::javax::sound::midi::dssi::DSSISynthesizer * this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_sound_midi_dssi_DSSISynthesizer$DSSIMidiChannel__ diff --git a/libjava/gnu/javax/sound/midi/dssi/DSSISynthesizer$DSSIReceiver.h b/libjava/gnu/javax/sound/midi/dssi/DSSISynthesizer$DSSIReceiver.h new file mode 100644 index 000000000..dbdd3284f --- /dev/null +++ b/libjava/gnu/javax/sound/midi/dssi/DSSISynthesizer$DSSIReceiver.h @@ -0,0 +1,55 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_sound_midi_dssi_DSSISynthesizer$DSSIReceiver__ +#define __gnu_javax_sound_midi_dssi_DSSISynthesizer$DSSIReceiver__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace sound + { + namespace midi + { + namespace dssi + { + class DSSISynthesizer; + class DSSISynthesizer$DSSIReceiver; + } + } + } + } + } + namespace javax + { + namespace sound + { + namespace midi + { + class MidiMessage; + } + } + } +} + +class gnu::javax::sound::midi::dssi::DSSISynthesizer$DSSIReceiver : public ::java::lang::Object +{ + +public: // actually package-private + DSSISynthesizer$DSSIReceiver(::gnu::javax::sound::midi::dssi::DSSISynthesizer *); +public: + virtual void send(::javax::sound::midi::MidiMessage *, jlong); + virtual void close(); +public: // actually package-private + ::gnu::javax::sound::midi::dssi::DSSISynthesizer * __attribute__((aligned(__alignof__( ::java::lang::Object)))) this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_sound_midi_dssi_DSSISynthesizer$DSSIReceiver__ diff --git a/libjava/gnu/javax/sound/midi/dssi/DSSISynthesizer$DSSISoundbank.h b/libjava/gnu/javax/sound/midi/dssi/DSSISynthesizer$DSSISoundbank.h new file mode 100644 index 000000000..4ebaffbe3 --- /dev/null +++ b/libjava/gnu/javax/sound/midi/dssi/DSSISynthesizer$DSSISoundbank.h @@ -0,0 +1,73 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_sound_midi_dssi_DSSISynthesizer$DSSISoundbank__ +#define __gnu_javax_sound_midi_dssi_DSSISynthesizer$DSSISoundbank__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace sound + { + namespace midi + { + namespace dssi + { + class DSSISynthesizer; + class DSSISynthesizer$DSSISoundbank; + } + } + } + } + } + namespace javax + { + namespace sound + { + namespace midi + { + class Instrument; + class Patch; + class SoundbankResource; + } + } + } +} + +class gnu::javax::sound::midi::dssi::DSSISynthesizer$DSSISoundbank : public ::java::lang::Object +{ + +public: + DSSISynthesizer$DSSISoundbank(::gnu::javax::sound::midi::dssi::DSSISynthesizer *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *, ::java::lang::String *); +public: // actually package-private + virtual void add(::javax::sound::midi::Instrument *); +public: + virtual ::java::lang::String * getName(); + virtual ::java::lang::String * getVersion(); + virtual ::java::lang::String * getVendor(); + virtual ::java::lang::String * getDescription(); + virtual JArray< ::javax::sound::midi::SoundbankResource * > * getResources(); + virtual JArray< ::javax::sound::midi::Instrument * > * getInstruments(); + virtual ::javax::sound::midi::Instrument * getInstrument(::javax::sound::midi::Patch *); +private: + ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) name; + ::java::lang::String * description; + ::java::util::List * instruments; + ::java::util::List * resources; + ::java::lang::String * vendor; + ::java::lang::String * version; +public: // actually package-private + ::gnu::javax::sound::midi::dssi::DSSISynthesizer * this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_sound_midi_dssi_DSSISynthesizer$DSSISoundbank__ diff --git a/libjava/gnu/javax/sound/midi/dssi/DSSISynthesizer.h b/libjava/gnu/javax/sound/midi/dssi/DSSISynthesizer.h new file mode 100644 index 000000000..c4d4a619c --- /dev/null +++ b/libjava/gnu/javax/sound/midi/dssi/DSSISynthesizer.h @@ -0,0 +1,104 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_sound_midi_dssi_DSSISynthesizer__ +#define __gnu_javax_sound_midi_dssi_DSSISynthesizer__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace sound + { + namespace midi + { + namespace dssi + { + class DSSISynthesizer; + class DSSISynthesizer$DSSISoundbank; + } + } + } + } + } + namespace javax + { + namespace sound + { + namespace midi + { + class Instrument; + class MidiChannel; + class MidiDevice$Info; + class Patch; + class Receiver; + class Soundbank; + class Transmitter; + class VoiceStatus; + } + } + } +} + +class gnu::javax::sound::midi::dssi::DSSISynthesizer : public ::java::lang::Object +{ + +public: // actually package-private + static void noteOn_(jlong, jint, jint, jint); + static void noteOff_(jlong, jint, jint, jint); + static void setPolyPressure_(jlong, jint, jint, jint); + static jint getPolyPressure_(jlong, jint, jint); + static void controlChange_(jlong, jint, jint, jint); + static void open_(jlong); + static void close_(jlong); + static ::java::lang::String * getProgramName_(jlong, jint); + static jint getProgramBank_(jlong, jint); + static jint getProgramProgram_(jlong, jint); + static void selectProgram_(jlong, jint, jint); +public: + DSSISynthesizer(::javax::sound::midi::MidiDevice$Info *, ::java::lang::String *, jlong); + virtual jint getMaxPolyphony(); + virtual jlong getLatency(); + virtual JArray< ::javax::sound::midi::MidiChannel * > * getChannels(); + virtual JArray< ::javax::sound::midi::VoiceStatus * > * getVoiceStatus(); + virtual jboolean isSoundbankSupported(::javax::sound::midi::Soundbank *); + virtual jboolean loadInstrument(::javax::sound::midi::Instrument *); + virtual void unloadInstrument(::javax::sound::midi::Instrument *); + virtual jboolean remapInstrument(::javax::sound::midi::Instrument *, ::javax::sound::midi::Instrument *); + virtual ::javax::sound::midi::Soundbank * getDefaultSoundbank(); + virtual JArray< ::javax::sound::midi::Instrument * > * getAvailableInstruments(); + virtual JArray< ::javax::sound::midi::Instrument * > * getLoadedInstruments(); + virtual jboolean loadAllInstruments(::javax::sound::midi::Soundbank *); + virtual void unloadAllInstruments(::javax::sound::midi::Soundbank *); + virtual jboolean loadInstruments(::javax::sound::midi::Soundbank *, JArray< ::javax::sound::midi::Patch * > *); + virtual void unloadInstruments(::javax::sound::midi::Soundbank *, JArray< ::javax::sound::midi::Patch * > *); + virtual ::javax::sound::midi::MidiDevice$Info * getDeviceInfo(); + virtual void open(); + virtual void close(); + virtual jboolean isOpen(); + virtual jlong getMicrosecondPosition(); + virtual jint getMaxReceivers(); + virtual jint getMaxTransmitters(); + virtual ::javax::sound::midi::Receiver * getReceiver(); + virtual ::javax::sound::midi::Transmitter * getTransmitter(); +public: // actually package-private + jlong __attribute__((aligned(__alignof__( ::java::lang::Object)))) sohandle; + jlong handle; +private: + ::javax::sound::midi::MidiDevice$Info * info; +public: // actually package-private + JArray< ::javax::sound::midi::MidiChannel * > * channels; + ::java::util::List * soundbanks; + ::gnu::javax::sound::midi::dssi::DSSISynthesizer$DSSISoundbank * defaultSoundbank; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_sound_midi_dssi_DSSISynthesizer__ diff --git a/libjava/gnu/javax/sound/midi/file/ExtendedMidiFileFormat.h b/libjava/gnu/javax/sound/midi/file/ExtendedMidiFileFormat.h new file mode 100644 index 000000000..70a8a4c2e --- /dev/null +++ b/libjava/gnu/javax/sound/midi/file/ExtendedMidiFileFormat.h @@ -0,0 +1,42 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_sound_midi_file_ExtendedMidiFileFormat__ +#define __gnu_javax_sound_midi_file_ExtendedMidiFileFormat__ + +#pragma interface + +#include <javax/sound/midi/MidiFileFormat.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace sound + { + namespace midi + { + namespace file + { + class ExtendedMidiFileFormat; + } + } + } + } + } +} + +class gnu::javax::sound::midi::file::ExtendedMidiFileFormat : public ::javax::sound::midi::MidiFileFormat +{ + +public: + virtual jint getNumberTracks(); + ExtendedMidiFileFormat(jint, jfloat, jint, jint, jlong, jint); +private: + jint __attribute__((aligned(__alignof__( ::javax::sound::midi::MidiFileFormat)))) ntracks; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_sound_midi_file_ExtendedMidiFileFormat__ diff --git a/libjava/gnu/javax/sound/midi/file/MidiDataInputStream.h b/libjava/gnu/javax/sound/midi/file/MidiDataInputStream.h new file mode 100644 index 000000000..00d247284 --- /dev/null +++ b/libjava/gnu/javax/sound/midi/file/MidiDataInputStream.h @@ -0,0 +1,39 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_sound_midi_file_MidiDataInputStream__ +#define __gnu_javax_sound_midi_file_MidiDataInputStream__ + +#pragma interface + +#include <java/io/DataInputStream.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace sound + { + namespace midi + { + namespace file + { + class MidiDataInputStream; + } + } + } + } + } +} + +class gnu::javax::sound::midi::file::MidiDataInputStream : public ::java::io::DataInputStream +{ + +public: + MidiDataInputStream(::java::io::InputStream *); + virtual jint readVariableLengthInt(); + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_sound_midi_file_MidiDataInputStream__ diff --git a/libjava/gnu/javax/sound/midi/file/MidiDataOutputStream.h b/libjava/gnu/javax/sound/midi/file/MidiDataOutputStream.h new file mode 100644 index 000000000..70718fc2a --- /dev/null +++ b/libjava/gnu/javax/sound/midi/file/MidiDataOutputStream.h @@ -0,0 +1,40 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_sound_midi_file_MidiDataOutputStream__ +#define __gnu_javax_sound_midi_file_MidiDataOutputStream__ + +#pragma interface + +#include <java/io/DataOutputStream.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace sound + { + namespace midi + { + namespace file + { + class MidiDataOutputStream; + } + } + } + } + } +} + +class gnu::javax::sound::midi::file::MidiDataOutputStream : public ::java::io::DataOutputStream +{ + +public: + MidiDataOutputStream(::java::io::OutputStream *); + virtual jint variableLengthIntLength(jint); + virtual void writeVariableLengthInt(jint); + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_sound_midi_file_MidiDataOutputStream__ diff --git a/libjava/gnu/javax/sound/midi/file/MidiFileReader.h b/libjava/gnu/javax/sound/midi/file/MidiFileReader.h new file mode 100644 index 000000000..823ead637 --- /dev/null +++ b/libjava/gnu/javax/sound/midi/file/MidiFileReader.h @@ -0,0 +1,62 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_sound_midi_file_MidiFileReader__ +#define __gnu_javax_sound_midi_file_MidiFileReader__ + +#pragma interface + +#include <javax/sound/midi/spi/MidiFileReader.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace sound + { + namespace midi + { + namespace file + { + class MidiFileReader; + } + } + } + } + } + namespace java + { + namespace net + { + class URL; + } + } + namespace javax + { + namespace sound + { + namespace midi + { + class MidiFileFormat; + class Sequence; + } + } + } +} + +class gnu::javax::sound::midi::file::MidiFileReader : public ::javax::sound::midi::spi::MidiFileReader +{ + +public: + MidiFileReader(); + virtual ::javax::sound::midi::MidiFileFormat * getMidiFileFormat(::java::io::InputStream *); + virtual ::javax::sound::midi::MidiFileFormat * getMidiFileFormat(::java::net::URL *); + virtual ::javax::sound::midi::MidiFileFormat * getMidiFileFormat(::java::io::File *); + virtual ::javax::sound::midi::Sequence * getSequence(::java::io::InputStream *); + virtual ::javax::sound::midi::Sequence * getSequence(::java::net::URL *); + virtual ::javax::sound::midi::Sequence * getSequence(::java::io::File *); + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_sound_midi_file_MidiFileReader__ diff --git a/libjava/gnu/javax/sound/midi/file/MidiFileWriter.h b/libjava/gnu/javax/sound/midi/file/MidiFileWriter.h new file mode 100644 index 000000000..15518ac73 --- /dev/null +++ b/libjava/gnu/javax/sound/midi/file/MidiFileWriter.h @@ -0,0 +1,60 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_sound_midi_file_MidiFileWriter__ +#define __gnu_javax_sound_midi_file_MidiFileWriter__ + +#pragma interface + +#include <javax/sound/midi/spi/MidiFileWriter.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace sound + { + namespace midi + { + namespace file + { + class MidiDataOutputStream; + class MidiFileWriter; + } + } + } + } + } + namespace javax + { + namespace sound + { + namespace midi + { + class Sequence; + class Track; + } + } + } +} + +class gnu::javax::sound::midi::file::MidiFileWriter : public ::javax::sound::midi::spi::MidiFileWriter +{ + +public: + MidiFileWriter(); + virtual JArray< jint > * getMidiFileTypes(); + virtual JArray< jint > * getMidiFileTypes(::javax::sound::midi::Sequence *); + virtual jint write(::javax::sound::midi::Sequence *, jint, ::java::io::OutputStream *); +private: + jint computeTrackLength(::javax::sound::midi::Track *, ::gnu::javax::sound::midi::file::MidiDataOutputStream *); + jint writeTrack(::javax::sound::midi::Track *, ::gnu::javax::sound::midi::file::MidiDataOutputStream *); +public: + virtual jint write(::javax::sound::midi::Sequence *, jint, ::java::io::File *); + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_sound_midi_file_MidiFileWriter__ diff --git a/libjava/gnu/javax/sound/sampled/AU/AUReader$AUFormatType.h b/libjava/gnu/javax/sound/sampled/AU/AUReader$AUFormatType.h new file mode 100644 index 000000000..d88744fe4 --- /dev/null +++ b/libjava/gnu/javax/sound/sampled/AU/AUReader$AUFormatType.h @@ -0,0 +1,38 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_sound_sampled_AU_AUReader$AUFormatType__ +#define __gnu_javax_sound_sampled_AU_AUReader$AUFormatType__ + +#pragma interface + +#include <javax/sound/sampled/AudioFileFormat$Type.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace sound + { + namespace sampled + { + namespace AU + { + class AUReader$AUFormatType; + } + } + } + } + } +} + +class gnu::javax::sound::sampled::AU::AUReader$AUFormatType : public ::javax::sound::sampled::AudioFileFormat$Type +{ + +public: + AUReader$AUFormatType(); + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_sound_sampled_AU_AUReader$AUFormatType__ diff --git a/libjava/gnu/javax/sound/sampled/AU/AUReader$AUHeader.h b/libjava/gnu/javax/sound/sampled/AU/AUReader$AUHeader.h new file mode 100644 index 000000000..94f21017b --- /dev/null +++ b/libjava/gnu/javax/sound/sampled/AU/AUReader$AUHeader.h @@ -0,0 +1,73 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_sound_sampled_AU_AUReader$AUHeader__ +#define __gnu_javax_sound_sampled_AU_AUReader$AUHeader__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace sound + { + namespace sampled + { + namespace AU + { + class AUReader$AUHeader; + } + } + } + } + } + namespace javax + { + namespace sound + { + namespace sampled + { + class AudioFileFormat; + class AudioFormat; + } + } + } +} + +class gnu::javax::sound::sampled::AU::AUReader$AUHeader : public ::java::lang::Object +{ + +public: + AUReader$AUHeader(::java::io::InputStream *); + virtual ::javax::sound::sampled::AudioFormat * getAudioFormat(); + virtual ::javax::sound::sampled::AudioFileFormat * getAudioFileFormat(); +private: + static const jint MAGIC = 779316836; +public: + static const jint SIZE = 24; + static const jint ULAW = 1; + static const jint PCM8 = 2; + static const jint PCM16 = 3; + static const jint PCM24 = 4; + static const jint PCM32 = 5; + static const jint IEEE32 = 6; + static const jint IEEE64 = 7; + static const jint G721 = 23; + static const jint G722 = 24; + static const jint G723 = 25; + static const jint G723_5BIT = 26; + static const jint ALAW = 27; + jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) headerSize; + jint fileSize; + jint encoding; + jint sampleRate; + jint channels; + jint sampleSizeInBits; + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_sound_sampled_AU_AUReader$AUHeader__ diff --git a/libjava/gnu/javax/sound/sampled/AU/AUReader.h b/libjava/gnu/javax/sound/sampled/AU/AUReader.h new file mode 100644 index 000000000..d269e7657 --- /dev/null +++ b/libjava/gnu/javax/sound/sampled/AU/AUReader.h @@ -0,0 +1,62 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_sound_sampled_AU_AUReader__ +#define __gnu_javax_sound_sampled_AU_AUReader__ + +#pragma interface + +#include <javax/sound/sampled/spi/AudioFileReader.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace sound + { + namespace sampled + { + namespace AU + { + class AUReader; + } + } + } + } + } + namespace java + { + namespace net + { + class URL; + } + } + namespace javax + { + namespace sound + { + namespace sampled + { + class AudioFileFormat; + class AudioInputStream; + } + } + } +} + +class gnu::javax::sound::sampled::AU::AUReader : public ::javax::sound::sampled::spi::AudioFileReader +{ + +public: + AUReader(); + virtual ::javax::sound::sampled::AudioFileFormat * getAudioFileFormat(::java::io::File *); + virtual ::javax::sound::sampled::AudioFileFormat * getAudioFileFormat(::java::io::InputStream *); + virtual ::javax::sound::sampled::AudioFileFormat * getAudioFileFormat(::java::net::URL *); + virtual ::javax::sound::sampled::AudioInputStream * getAudioInputStream(::java::io::File *); + virtual ::javax::sound::sampled::AudioInputStream * getAudioInputStream(::java::io::InputStream *); + virtual ::javax::sound::sampled::AudioInputStream * getAudioInputStream(::java::net::URL *); + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_sound_sampled_AU_AUReader__ diff --git a/libjava/gnu/javax/sound/sampled/WAV/WAVReader.h b/libjava/gnu/javax/sound/sampled/WAV/WAVReader.h new file mode 100644 index 000000000..3756d5d83 --- /dev/null +++ b/libjava/gnu/javax/sound/sampled/WAV/WAVReader.h @@ -0,0 +1,66 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_sound_sampled_WAV_WAVReader__ +#define __gnu_javax_sound_sampled_WAV_WAVReader__ + +#pragma interface + +#include <javax/sound/sampled/spi/AudioFileReader.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace sound + { + namespace sampled + { + namespace WAV + { + class WAVReader; + } + } + } + } + } + namespace java + { + namespace net + { + class URL; + } + } + namespace javax + { + namespace sound + { + namespace sampled + { + class AudioFileFormat; + class AudioInputStream; + } + } + } +} + +class gnu::javax::sound::sampled::WAV::WAVReader : public ::javax::sound::sampled::spi::AudioFileReader +{ + +public: + WAVReader(); +private: + static jlong readUnsignedIntLE(::java::io::DataInputStream *); + static jshort readUnsignedShortLE(::java::io::DataInputStream *); +public: + virtual ::javax::sound::sampled::AudioFileFormat * getAudioFileFormat(::java::io::File *); + virtual ::javax::sound::sampled::AudioFileFormat * getAudioFileFormat(::java::io::InputStream *); + virtual ::javax::sound::sampled::AudioFileFormat * getAudioFileFormat(::java::net::URL *); + virtual ::javax::sound::sampled::AudioInputStream * getAudioInputStream(::java::io::File *); + virtual ::javax::sound::sampled::AudioInputStream * getAudioInputStream(::java::io::InputStream *); + virtual ::javax::sound::sampled::AudioInputStream * getAudioInputStream(::java::net::URL *); + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_sound_sampled_WAV_WAVReader__ diff --git a/libjava/gnu/javax/sound/sampled/gstreamer/GStreamerMixer$GstInfo.h b/libjava/gnu/javax/sound/sampled/gstreamer/GStreamerMixer$GstInfo.h new file mode 100644 index 000000000..502ec94f6 --- /dev/null +++ b/libjava/gnu/javax/sound/sampled/gstreamer/GStreamerMixer$GstInfo.h @@ -0,0 +1,44 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_sound_sampled_gstreamer_GStreamerMixer$GstInfo__ +#define __gnu_javax_sound_sampled_gstreamer_GStreamerMixer$GstInfo__ + +#pragma interface + +#include <javax/sound/sampled/Mixer$Info.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace sound + { + namespace sampled + { + namespace gstreamer + { + class GStreamerMixer$GstInfo; + } + } + } + } + } +} + +class gnu::javax::sound::sampled::gstreamer::GStreamerMixer$GstInfo : public ::javax::sound::sampled::Mixer$Info +{ + +public: // actually protected + GStreamerMixer$GstInfo(); +private: + static ::java::lang::String * name; + static ::java::lang::String * vendor; + static ::java::lang::String * desc; + static ::java::lang::String * vers; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_sound_sampled_gstreamer_GStreamerMixer$GstInfo__ diff --git a/libjava/gnu/javax/sound/sampled/gstreamer/GStreamerMixer.h b/libjava/gnu/javax/sound/sampled/gstreamer/GStreamerMixer.h new file mode 100644 index 000000000..f716854bc --- /dev/null +++ b/libjava/gnu/javax/sound/sampled/gstreamer/GStreamerMixer.h @@ -0,0 +1,84 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_sound_sampled_gstreamer_GStreamerMixer__ +#define __gnu_javax_sound_sampled_gstreamer_GStreamerMixer__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace sound + { + namespace sampled + { + namespace gstreamer + { + class GStreamerMixer; + } + } + } + } + } + namespace javax + { + namespace sound + { + namespace sampled + { + class Control; + class Control$Type; + class Line; + class Line$Info; + class LineListener; + class Mixer$Info; + } + } + } +} + +class gnu::javax::sound::sampled::gstreamer::GStreamerMixer : public ::java::lang::Object +{ + +public: + GStreamerMixer(); + virtual ::javax::sound::sampled::Line * getLine(::javax::sound::sampled::Line$Info *); + virtual jint getMaxLines(::javax::sound::sampled::Line$Info *); + virtual ::javax::sound::sampled::Mixer$Info * getMixerInfo(); + virtual JArray< ::javax::sound::sampled::Line$Info * > * getSourceLineInfo(); + virtual JArray< ::javax::sound::sampled::Line$Info * > * getSourceLineInfo(::javax::sound::sampled::Line$Info *); + virtual JArray< ::javax::sound::sampled::Line * > * getSourceLines(); + virtual JArray< ::javax::sound::sampled::Line$Info * > * getTargetLineInfo(); + virtual JArray< ::javax::sound::sampled::Line$Info * > * getTargetLineInfo(::javax::sound::sampled::Line$Info *); + virtual JArray< ::javax::sound::sampled::Line * > * getTargetLines(); + virtual jboolean isLineSupported(::javax::sound::sampled::Line$Info *); + virtual jboolean isSynchronizationSupported(JArray< ::javax::sound::sampled::Line * > *, jboolean); + virtual void synchronize(JArray< ::javax::sound::sampled::Line * > *, jboolean); + virtual void unsynchronize(JArray< ::javax::sound::sampled::Line * > *); + virtual void addLineListener(::javax::sound::sampled::LineListener *); + virtual void close(); + virtual ::javax::sound::sampled::Control * getControl(::javax::sound::sampled::Control$Type *); + virtual JArray< ::javax::sound::sampled::Control * > * getControls(); + virtual ::javax::sound::sampled::Line$Info * getLineInfo(); + virtual jboolean isControlSupported(::javax::sound::sampled::Control$Type *); + virtual jboolean isOpen(); + virtual void open(); + virtual void removeLineListener(::javax::sound::sampled::LineListener *); + static ::java::lang::String * GST_BACKEND; + static ::java::lang::String * GST_DECODER; + static ::java::lang::String * GST_TYPE_NAME; + static ::java::lang::String * GST_FILE_EXTENSION; +private: + static ::javax::sound::sampled::Mixer$Info * INFO; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_sound_sampled_gstreamer_GStreamerMixer__ diff --git a/libjava/gnu/javax/sound/sampled/gstreamer/GStreamerMixerProvider.h b/libjava/gnu/javax/sound/sampled/gstreamer/GStreamerMixerProvider.h new file mode 100644 index 000000000..00976f84f --- /dev/null +++ b/libjava/gnu/javax/sound/sampled/gstreamer/GStreamerMixerProvider.h @@ -0,0 +1,57 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_sound_sampled_gstreamer_GStreamerMixerProvider__ +#define __gnu_javax_sound_sampled_gstreamer_GStreamerMixerProvider__ + +#pragma interface + +#include <javax/sound/sampled/spi/MixerProvider.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace sound + { + namespace sampled + { + namespace gstreamer + { + class GStreamerMixer; + class GStreamerMixerProvider; + } + } + } + } + } + namespace javax + { + namespace sound + { + namespace sampled + { + class Mixer; + class Mixer$Info; + } + } + } +} + +class gnu::javax::sound::sampled::gstreamer::GStreamerMixerProvider : public ::javax::sound::sampled::spi::MixerProvider +{ + +public: + GStreamerMixerProvider(); + virtual ::javax::sound::sampled::Mixer * getMixer(::javax::sound::sampled::Mixer$Info *); + virtual JArray< ::javax::sound::sampled::Mixer$Info * > * getMixerInfo(); +private: + static ::gnu::javax::sound::sampled::gstreamer::GStreamerMixer * mixer; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_sound_sampled_gstreamer_GStreamerMixerProvider__ diff --git a/libjava/gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReader.h b/libjava/gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReader.h new file mode 100644 index 000000000..a6dc8fa7f --- /dev/null +++ b/libjava/gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReader.h @@ -0,0 +1,68 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_sound_sampled_gstreamer_io_GstAudioFileReader__ +#define __gnu_javax_sound_sampled_gstreamer_io_GstAudioFileReader__ + +#pragma interface + +#include <javax/sound/sampled/spi/AudioFileReader.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace sound + { + namespace sampled + { + namespace gstreamer + { + namespace io + { + class GstAudioFileReader; + } + } + } + } + } + } + namespace java + { + namespace net + { + class URL; + } + } + namespace javax + { + namespace sound + { + namespace sampled + { + class AudioFileFormat; + class AudioInputStream; + } + } + } +} + +class gnu::javax::sound::sampled::gstreamer::io::GstAudioFileReader : public ::javax::sound::sampled::spi::AudioFileReader +{ + +public: + GstAudioFileReader(); + virtual ::javax::sound::sampled::AudioFileFormat * getAudioFileFormat(::java::io::File *); + virtual ::javax::sound::sampled::AudioFileFormat * getAudioFileFormat(::java::io::InputStream *); +private: + ::javax::sound::sampled::AudioFileFormat * getAudioFileFormat(::java::io::InputStream *, ::java::lang::String *); +public: + virtual ::javax::sound::sampled::AudioFileFormat * getAudioFileFormat(::java::net::URL *); + virtual ::javax::sound::sampled::AudioInputStream * getAudioInputStream(::java::io::File *); + virtual ::javax::sound::sampled::AudioInputStream * getAudioInputStream(::java::io::InputStream *); + virtual ::javax::sound::sampled::AudioInputStream * getAudioInputStream(::java::net::URL *); + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_sound_sampled_gstreamer_io_GstAudioFileReader__ diff --git a/libjava/gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReaderNativePeer$GstHeader.h b/libjava/gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReaderNativePeer$GstHeader.h new file mode 100644 index 000000000..5d70c4090 --- /dev/null +++ b/libjava/gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReaderNativePeer$GstHeader.h @@ -0,0 +1,57 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_sound_sampled_gstreamer_io_GstAudioFileReaderNativePeer$GstHeader__ +#define __gnu_javax_sound_sampled_gstreamer_io_GstAudioFileReaderNativePeer$GstHeader__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace sound + { + namespace sampled + { + namespace gstreamer + { + namespace io + { + class GstAudioFileReaderNativePeer$GstHeader; + } + } + } + } + } + } +} + +class gnu::javax::sound::sampled::gstreamer::io::GstAudioFileReaderNativePeer$GstHeader : public ::java::lang::Object +{ + + GstAudioFileReaderNativePeer$GstHeader(); +public: // actually package-private + GstAudioFileReaderNativePeer$GstHeader(::gnu::javax::sound::sampled::gstreamer::io::GstAudioFileReaderNativePeer$GstHeader *); +public: + ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) file; + ::java::lang::String * suffix; + ::java::lang::String * name; + ::java::lang::String * mimetype; + ::java::lang::String * endianness; + ::java::lang::String * channels; + ::java::lang::String * rate; + ::java::lang::String * width; + ::java::lang::String * depth; + ::java::lang::String * isSigned; + ::java::lang::String * layer; + ::java::lang::String * bitrate; + ::java::lang::String * framed; + ::java::lang::String * type; + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_sound_sampled_gstreamer_io_GstAudioFileReaderNativePeer$GstHeader__ diff --git a/libjava/gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReaderNativePeer.h b/libjava/gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReaderNativePeer.h new file mode 100644 index 000000000..82878f196 --- /dev/null +++ b/libjava/gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReaderNativePeer.h @@ -0,0 +1,79 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_sound_sampled_gstreamer_io_GstAudioFileReaderNativePeer__ +#define __gnu_javax_sound_sampled_gstreamer_io_GstAudioFileReaderNativePeer__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace gnu + { + namespace classpath + { + class Pointer; + } + namespace javax + { + namespace sound + { + namespace sampled + { + namespace gstreamer + { + namespace io + { + class GstAudioFileReaderNativePeer; + class GstAudioFileReaderNativePeer$GstHeader; + } + } + } + } + } + } + namespace java + { + namespace net + { + class URL; + } + } + namespace javax + { + namespace sound + { + namespace sampled + { + class AudioFormat; + class AudioFormat$Encoding; + } + } + } +} + +class gnu::javax::sound::sampled::gstreamer::io::GstAudioFileReaderNativePeer : public ::java::lang::Object +{ + +public: // actually package-private + GstAudioFileReaderNativePeer(); +public: + static ::javax::sound::sampled::AudioFormat * getAudioFormat(::java::io::File *); + static ::javax::sound::sampled::AudioFormat * getAudioFormat(::java::io::InputStream *); + static ::javax::sound::sampled::AudioFormat * getAudioFormat(::java::net::URL *); +private: + static ::javax::sound::sampled::AudioFormat * getAudioFormat(::java::io::InputStream *, ::gnu::javax::sound::sampled::gstreamer::io::GstAudioFileReaderNativePeer$GstHeader *); + static ::javax::sound::sampled::AudioFormat$Encoding * getEncoding(::gnu::javax::sound::sampled::gstreamer::io::GstAudioFileReaderNativePeer$GstHeader *); + static ::javax::sound::sampled::AudioFormat * getAudioFormat(::gnu::javax::sound::sampled::gstreamer::io::GstAudioFileReaderNativePeer$GstHeader *); +public: // actually protected + static jboolean gstreamer_get_audio_format_stream(::gnu::javax::sound::sampled::gstreamer::io::GstAudioFileReaderNativePeer$GstHeader *, ::gnu::classpath::Pointer *); + static jboolean gstreamer_get_audio_format_file(::gnu::javax::sound::sampled::gstreamer::io::GstAudioFileReaderNativePeer$GstHeader *); +private: + static void init_id_cache(); + static ::java::lang::String * GST_ENCODING; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_sound_sampled_gstreamer_io_GstAudioFileReaderNativePeer__ diff --git a/libjava/gnu/javax/sound/sampled/gstreamer/io/GstAudioFileWriter.h b/libjava/gnu/javax/sound/sampled/gstreamer/io/GstAudioFileWriter.h new file mode 100644 index 000000000..450ab176b --- /dev/null +++ b/libjava/gnu/javax/sound/sampled/gstreamer/io/GstAudioFileWriter.h @@ -0,0 +1,58 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_sound_sampled_gstreamer_io_GstAudioFileWriter__ +#define __gnu_javax_sound_sampled_gstreamer_io_GstAudioFileWriter__ + +#pragma interface + +#include <javax/sound/sampled/spi/AudioFileWriter.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace sound + { + namespace sampled + { + namespace gstreamer + { + namespace io + { + class GstAudioFileWriter; + } + } + } + } + } + } + namespace javax + { + namespace sound + { + namespace sampled + { + class AudioFileFormat$Type; + class AudioInputStream; + } + } + } +} + +class gnu::javax::sound::sampled::gstreamer::io::GstAudioFileWriter : public ::javax::sound::sampled::spi::AudioFileWriter +{ + +public: + GstAudioFileWriter(); + virtual JArray< ::javax::sound::sampled::AudioFileFormat$Type * > * getAudioFileTypes(); + virtual JArray< ::javax::sound::sampled::AudioFileFormat$Type * > * getAudioFileTypes(::javax::sound::sampled::AudioInputStream *); + virtual jint write(::javax::sound::sampled::AudioInputStream *, ::javax::sound::sampled::AudioFileFormat$Type *, ::java::io::File *); + virtual jint write(::javax::sound::sampled::AudioInputStream *, ::javax::sound::sampled::AudioFileFormat$Type *, ::java::io::OutputStream *); + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_sound_sampled_gstreamer_io_GstAudioFileWriter__ diff --git a/libjava/gnu/javax/sound/sampled/gstreamer/io/GstInputStream.h b/libjava/gnu/javax/sound/sampled/gstreamer/io/GstInputStream.h new file mode 100644 index 000000000..8ffb113e5 --- /dev/null +++ b/libjava/gnu/javax/sound/sampled/gstreamer/io/GstInputStream.h @@ -0,0 +1,56 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_sound_sampled_gstreamer_io_GstInputStream__ +#define __gnu_javax_sound_sampled_gstreamer_io_GstInputStream__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace classpath + { + class Pointer; + } + namespace javax + { + namespace sound + { + namespace sampled + { + namespace gstreamer + { + namespace io + { + class GstInputStream; + } + } + } + } + } + } +} + +class gnu::javax::sound::sampled::gstreamer::io::GstInputStream : public ::java::lang::Object +{ + +public: + GstInputStream(::java::io::InputStream *); + virtual jint read(JArray< jbyte > *, jint, jint); + virtual jint available(); + virtual ::gnu::classpath::Pointer * getNativeClass(); +private: + void init_instance(); + static void init_id_cache(); + ::java::io::InputStream * __attribute__((aligned(__alignof__( ::java::lang::Object)))) istream; + ::gnu::classpath::Pointer * gstInputStream; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_sound_sampled_gstreamer_io_GstInputStream__ diff --git a/libjava/gnu/javax/sound/sampled/gstreamer/lines/GstDataLine.h b/libjava/gnu/javax/sound/sampled/gstreamer/lines/GstDataLine.h new file mode 100644 index 000000000..20ef7deb8 --- /dev/null +++ b/libjava/gnu/javax/sound/sampled/gstreamer/lines/GstDataLine.h @@ -0,0 +1,92 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_sound_sampled_gstreamer_lines_GstDataLine__ +#define __gnu_javax_sound_sampled_gstreamer_lines_GstDataLine__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace sound + { + namespace sampled + { + namespace gstreamer + { + namespace lines + { + class GstDataLine; + } + } + } + } + } + } + namespace javax + { + namespace sound + { + namespace sampled + { + class AudioFormat; + class Control; + class Control$Type; + class Line$Info; + class LineListener; + } + } + } +} + +class gnu::javax::sound::sampled::gstreamer::lines::GstDataLine : public ::java::lang::Object +{ + +public: + GstDataLine(::javax::sound::sampled::AudioFormat *); + GstDataLine(::javax::sound::sampled::AudioFormat *, jint); + virtual jint getBufferSize(); + virtual ::javax::sound::sampled::AudioFormat * getFormat(); + virtual jfloat getLevel(); + virtual void addLineListener(::javax::sound::sampled::LineListener *); + virtual ::javax::sound::sampled::Control * getControl(::javax::sound::sampled::Control$Type *); + virtual JArray< ::javax::sound::sampled::Control * > * getControls(); + virtual ::javax::sound::sampled::Line$Info * getLineInfo(); + virtual jboolean isControlSupported(::javax::sound::sampled::Control$Type *); + virtual jboolean isOpen(); + virtual void removeLineListener(::javax::sound::sampled::LineListener *); +public: // actually protected + virtual void setOpen(::java::lang::Boolean *); + virtual void setBufferSize(jint); + virtual void setFormat(::javax::sound::sampled::AudioFormat *); +public: + virtual jint available() = 0; + virtual void drain() = 0; + virtual void flush() = 0; + virtual jint getFramePosition() = 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 close() = 0; + virtual void open() = 0; + static const jint DEFAULT_BUFFER_SIZE = 1024; +public: // actually protected + ::java::lang::Boolean * __attribute__((aligned(__alignof__( ::java::lang::Object)))) open; +private: + ::javax::sound::sampled::AudioFormat * format; + jint bufferSize; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_sound_sampled_gstreamer_lines_GstDataLine__ diff --git a/libjava/gnu/javax/sound/sampled/gstreamer/lines/GstNativeDataLine.h b/libjava/gnu/javax/sound/sampled/gstreamer/lines/GstNativeDataLine.h new file mode 100644 index 000000000..e382f3ea4 --- /dev/null +++ b/libjava/gnu/javax/sound/sampled/gstreamer/lines/GstNativeDataLine.h @@ -0,0 +1,51 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_sound_sampled_gstreamer_lines_GstNativeDataLine__ +#define __gnu_javax_sound_sampled_gstreamer_lines_GstNativeDataLine__ + +#pragma interface + +#include <java/lang/Object.h> +extern "Java" +{ + namespace gnu + { + namespace classpath + { + class Pointer; + } + namespace javax + { + namespace sound + { + namespace sampled + { + namespace gstreamer + { + namespace lines + { + class GstNativeDataLine; + class GstPipeline; + } + } + } + } + } + } +} + +class gnu::javax::sound::sampled::gstreamer::lines::GstNativeDataLine : public ::java::lang::Object +{ + +public: + GstNativeDataLine(); + static ::gnu::javax::sound::sampled::gstreamer::lines::GstPipeline * createSourcePipeline(jint); +private: + static void init_id_cache(); + static jboolean setup_sink_pipeline(::gnu::classpath::Pointer *); +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_sound_sampled_gstreamer_lines_GstNativeDataLine__ diff --git a/libjava/gnu/javax/sound/sampled/gstreamer/lines/GstPipeline$CleanPipeline.h b/libjava/gnu/javax/sound/sampled/gstreamer/lines/GstPipeline$CleanPipeline.h new file mode 100644 index 000000000..a0de53f38 --- /dev/null +++ b/libjava/gnu/javax/sound/sampled/gstreamer/lines/GstPipeline$CleanPipeline.h @@ -0,0 +1,47 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_sound_sampled_gstreamer_lines_GstPipeline$CleanPipeline__ +#define __gnu_javax_sound_sampled_gstreamer_lines_GstPipeline$CleanPipeline__ + +#pragma interface + +#include <java/lang/Thread.h> +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace sound + { + namespace sampled + { + namespace gstreamer + { + namespace lines + { + class GstPipeline; + class GstPipeline$CleanPipeline; + } + } + } + } + } + } +} + +class gnu::javax::sound::sampled::gstreamer::lines::GstPipeline$CleanPipeline : public ::java::lang::Thread +{ + + GstPipeline$CleanPipeline(::gnu::javax::sound::sampled::gstreamer::lines::GstPipeline *); +public: + virtual void run(); +public: // actually package-private + GstPipeline$CleanPipeline(::gnu::javax::sound::sampled::gstreamer::lines::GstPipeline *, ::gnu::javax::sound::sampled::gstreamer::lines::GstPipeline$CleanPipeline *); + ::gnu::javax::sound::sampled::gstreamer::lines::GstPipeline * __attribute__((aligned(__alignof__( ::java::lang::Thread)))) this$0; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_sound_sampled_gstreamer_lines_GstPipeline$CleanPipeline__ diff --git a/libjava/gnu/javax/sound/sampled/gstreamer/lines/GstPipeline$State.h b/libjava/gnu/javax/sound/sampled/gstreamer/lines/GstPipeline$State.h new file mode 100644 index 000000000..596608428 --- /dev/null +++ b/libjava/gnu/javax/sound/sampled/gstreamer/lines/GstPipeline$State.h @@ -0,0 +1,52 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_sound_sampled_gstreamer_lines_GstPipeline$State__ +#define __gnu_javax_sound_sampled_gstreamer_lines_GstPipeline$State__ + +#pragma interface + +#include <java/lang/Enum.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace sound + { + namespace sampled + { + namespace gstreamer + { + namespace lines + { + class GstPipeline$State; + } + } + } + } + } + } +} + +class gnu::javax::sound::sampled::gstreamer::lines::GstPipeline$State : public ::java::lang::Enum +{ + + GstPipeline$State(::java::lang::String *, jint); +public: + static JArray< ::gnu::javax::sound::sampled::gstreamer::lines::GstPipeline$State * > * values(); + static ::gnu::javax::sound::sampled::gstreamer::lines::GstPipeline$State * valueOf(::java::lang::String *); + static ::gnu::javax::sound::sampled::gstreamer::lines::GstPipeline$State * PLAY; + static ::gnu::javax::sound::sampled::gstreamer::lines::GstPipeline$State * PAUSE; + static ::gnu::javax::sound::sampled::gstreamer::lines::GstPipeline$State * STOP; + static ::gnu::javax::sound::sampled::gstreamer::lines::GstPipeline$State * CLOSE; +private: + static JArray< ::gnu::javax::sound::sampled::gstreamer::lines::GstPipeline$State * > * ENUM$VALUES; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_sound_sampled_gstreamer_lines_GstPipeline$State__ diff --git a/libjava/gnu/javax/sound/sampled/gstreamer/lines/GstPipeline.h b/libjava/gnu/javax/sound/sampled/gstreamer/lines/GstPipeline.h new file mode 100644 index 000000000..56afb46ba --- /dev/null +++ b/libjava/gnu/javax/sound/sampled/gstreamer/lines/GstPipeline.h @@ -0,0 +1,92 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_sound_sampled_gstreamer_lines_GstPipeline__ +#define __gnu_javax_sound_sampled_gstreamer_lines_GstPipeline__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace classpath + { + class Pointer; + } + namespace javax + { + namespace sound + { + namespace sampled + { + namespace gstreamer + { + namespace lines + { + class GstPipeline; + class GstPipeline$State; + } + } + } + } + } + } +} + +class gnu::javax::sound::sampled::gstreamer::lines::GstPipeline : public ::java::lang::Object +{ + +public: + GstPipeline(); + GstPipeline(jint); + virtual void createForWrite(); + virtual ::gnu::javax::sound::sampled::gstreamer::lines::GstPipeline$State * getState(); + virtual void close(); + virtual void setState(::gnu::javax::sound::sampled::gstreamer::lines::GstPipeline$State *); + virtual ::gnu::classpath::Pointer * getNativeClass(); + virtual jint write(JArray< jbyte > *, jint, jint); + virtual jint read(JArray< jbyte > *, jint, jint); + virtual jint available(); + virtual void drain(); + virtual void flush(); +private: + void closePipe(); + void prepareWrite(); + static void init_id_cache(); + static jboolean set_state(::gnu::classpath::Pointer *, jint); + static jint available(::gnu::classpath::Pointer *, jint); + static void open_native_pipe(::gnu::classpath::Pointer *, jint); + static void close_native_pipe(::gnu::classpath::Pointer *); + void init_instance(); + jboolean create_named_pipe(::gnu::classpath::Pointer *); + jlong detect_pipe_size(); +public: // actually package-private + static ::gnu::classpath::Pointer * access$0(::gnu::javax::sound::sampled::gstreamer::lines::GstPipeline *); + static void access$1(::gnu::classpath::Pointer *); + static JArray< jint > * $SWITCH_TABLE$gnu$javax$sound$sampled$gstreamer$lines$GstPipeline$State(); +private: + static const jint READ = 0; + static const jint WRITE = 1; + static const jint QUEUED = 1; + static ::java::lang::String * CAPACITY_KEY; + static JArray< ::java::lang::Object * > * lock; +public: // actually protected + ::java::util::prefs::Preferences * __attribute__((aligned(__alignof__( ::java::lang::Object)))) prefs; +private: + jlong capacity; + ::gnu::javax::sound::sampled::gstreamer::lines::GstPipeline$State * state; + ::java::lang::String * name; + ::java::io::FileOutputStream * output; + jboolean source; + jboolean ready; + ::gnu::classpath::Pointer * pipeline; + static JArray< jint > * $SWITCH_TABLE$gnu$javax$sound$sampled$gstreamer$lines$GstPipeline$State__; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_sound_sampled_gstreamer_lines_GstPipeline__ diff --git a/libjava/gnu/javax/sound/sampled/gstreamer/lines/GstSourceDataLine.h b/libjava/gnu/javax/sound/sampled/gstreamer/lines/GstSourceDataLine.h new file mode 100644 index 000000000..4120a2b2d --- /dev/null +++ b/libjava/gnu/javax/sound/sampled/gstreamer/lines/GstSourceDataLine.h @@ -0,0 +1,73 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_sound_sampled_gstreamer_lines_GstSourceDataLine__ +#define __gnu_javax_sound_sampled_gstreamer_lines_GstSourceDataLine__ + +#pragma interface + +#include <gnu/javax/sound/sampled/gstreamer/lines/GstDataLine.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace sound + { + namespace sampled + { + namespace gstreamer + { + namespace lines + { + class GstPipeline; + class GstSourceDataLine; + } + } + } + } + } + } + namespace javax + { + namespace sound + { + namespace sampled + { + class AudioFormat; + } + } + } +} + +class gnu::javax::sound::sampled::gstreamer::lines::GstSourceDataLine : public ::gnu::javax::sound::sampled::gstreamer::lines::GstDataLine +{ + +public: + GstSourceDataLine(::javax::sound::sampled::AudioFormat *); + virtual void open(); + virtual void open(::javax::sound::sampled::AudioFormat *); + virtual void open(::javax::sound::sampled::AudioFormat *, jint); + virtual jint write(JArray< jbyte > *, jint, jint); + virtual jint available(); + virtual void drain(); + virtual void flush(); + virtual jint getFramePosition(); + virtual jlong getLongFramePosition(); + virtual jlong getMicrosecondPosition(); + virtual jboolean isActive(); + virtual void start(); + virtual void stop(); + virtual void close(); + virtual jboolean isRunning(); +private: + ::gnu::javax::sound::sampled::gstreamer::lines::GstPipeline * __attribute__((aligned(__alignof__( ::gnu::javax::sound::sampled::gstreamer::lines::GstDataLine)))) pipeline; + jboolean open__; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_sound_sampled_gstreamer_lines_GstSourceDataLine__ |