summaryrefslogtreecommitdiff
path: root/libjava/gnu/javax/sound/sampled
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/gnu/javax/sound/sampled')
-rw-r--r--libjava/gnu/javax/sound/sampled/AU/AUReader$AUFormatType.h38
-rw-r--r--libjava/gnu/javax/sound/sampled/AU/AUReader$AUHeader.h73
-rw-r--r--libjava/gnu/javax/sound/sampled/AU/AUReader.h62
-rw-r--r--libjava/gnu/javax/sound/sampled/WAV/WAVReader.h66
-rw-r--r--libjava/gnu/javax/sound/sampled/gstreamer/GStreamerMixer$GstInfo.h44
-rw-r--r--libjava/gnu/javax/sound/sampled/gstreamer/GStreamerMixer.h84
-rw-r--r--libjava/gnu/javax/sound/sampled/gstreamer/GStreamerMixerProvider.h57
-rw-r--r--libjava/gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReader.h68
-rw-r--r--libjava/gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReaderNativePeer$GstHeader.h57
-rw-r--r--libjava/gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReaderNativePeer.h79
-rw-r--r--libjava/gnu/javax/sound/sampled/gstreamer/io/GstAudioFileWriter.h58
-rw-r--r--libjava/gnu/javax/sound/sampled/gstreamer/io/GstInputStream.h56
-rw-r--r--libjava/gnu/javax/sound/sampled/gstreamer/lines/GstDataLine.h92
-rw-r--r--libjava/gnu/javax/sound/sampled/gstreamer/lines/GstNativeDataLine.h51
-rw-r--r--libjava/gnu/javax/sound/sampled/gstreamer/lines/GstPipeline$CleanPipeline.h47
-rw-r--r--libjava/gnu/javax/sound/sampled/gstreamer/lines/GstPipeline$State.h52
-rw-r--r--libjava/gnu/javax/sound/sampled/gstreamer/lines/GstPipeline.h92
-rw-r--r--libjava/gnu/javax/sound/sampled/gstreamer/lines/GstSourceDataLine.h73
18 files changed, 1149 insertions, 0 deletions
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__