summaryrefslogtreecommitdiff
path: root/libjava/javax/sound/sampled/spi
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/javax/sound/sampled/spi')
-rw-r--r--libjava/javax/sound/sampled/spi/AudioFileReader.h50
-rw-r--r--libjava/javax/sound/sampled/spi/AudioFileWriter.h45
-rw-r--r--libjava/javax/sound/sampled/spi/FormatConversionProvider.h50
-rw-r--r--libjava/javax/sound/sampled/spi/MixerProvider.h42
4 files changed, 187 insertions, 0 deletions
diff --git a/libjava/javax/sound/sampled/spi/AudioFileReader.h b/libjava/javax/sound/sampled/spi/AudioFileReader.h
new file mode 100644
index 000000000..aab7d7d68
--- /dev/null
+++ b/libjava/javax/sound/sampled/spi/AudioFileReader.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_sound_sampled_spi_AudioFileReader__
+#define __javax_sound_sampled_spi_AudioFileReader__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+extern "Java"
+{
+ namespace java
+ {
+ namespace net
+ {
+ class URL;
+ }
+ }
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace sampled
+ {
+ class AudioFileFormat;
+ class AudioInputStream;
+ namespace spi
+ {
+ class AudioFileReader;
+ }
+ }
+ }
+ }
+}
+
+class javax::sound::sampled::spi::AudioFileReader : public ::java::lang::Object
+{
+
+public:
+ AudioFileReader();
+ virtual ::javax::sound::sampled::AudioFileFormat * getAudioFileFormat(::java::io::File *) = 0;
+ virtual ::javax::sound::sampled::AudioFileFormat * getAudioFileFormat(::java::io::InputStream *) = 0;
+ virtual ::javax::sound::sampled::AudioFileFormat * getAudioFileFormat(::java::net::URL *) = 0;
+ virtual ::javax::sound::sampled::AudioInputStream * getAudioInputStream(::java::io::File *) = 0;
+ virtual ::javax::sound::sampled::AudioInputStream * getAudioInputStream(::java::io::InputStream *) = 0;
+ virtual ::javax::sound::sampled::AudioInputStream * getAudioInputStream(::java::net::URL *) = 0;
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_sound_sampled_spi_AudioFileReader__
diff --git a/libjava/javax/sound/sampled/spi/AudioFileWriter.h b/libjava/javax/sound/sampled/spi/AudioFileWriter.h
new file mode 100644
index 000000000..558e3daea
--- /dev/null
+++ b/libjava/javax/sound/sampled/spi/AudioFileWriter.h
@@ -0,0 +1,45 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_sound_sampled_spi_AudioFileWriter__
+#define __javax_sound_sampled_spi_AudioFileWriter__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace sampled
+ {
+ class AudioFileFormat$Type;
+ class AudioInputStream;
+ namespace spi
+ {
+ class AudioFileWriter;
+ }
+ }
+ }
+ }
+}
+
+class javax::sound::sampled::spi::AudioFileWriter : public ::java::lang::Object
+{
+
+public:
+ AudioFileWriter();
+ virtual JArray< ::javax::sound::sampled::AudioFileFormat$Type * > * getAudioFileTypes() = 0;
+ virtual JArray< ::javax::sound::sampled::AudioFileFormat$Type * > * getAudioFileTypes(::javax::sound::sampled::AudioInputStream *) = 0;
+ virtual jboolean isFileTypeSupported(::javax::sound::sampled::AudioFileFormat$Type *);
+ virtual jboolean isFileTypeSupported(::javax::sound::sampled::AudioFileFormat$Type *, ::javax::sound::sampled::AudioInputStream *);
+ virtual jint write(::javax::sound::sampled::AudioInputStream *, ::javax::sound::sampled::AudioFileFormat$Type *, ::java::io::File *) = 0;
+ virtual jint write(::javax::sound::sampled::AudioInputStream *, ::javax::sound::sampled::AudioFileFormat$Type *, ::java::io::OutputStream *) = 0;
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_sound_sampled_spi_AudioFileWriter__
diff --git a/libjava/javax/sound/sampled/spi/FormatConversionProvider.h b/libjava/javax/sound/sampled/spi/FormatConversionProvider.h
new file mode 100644
index 000000000..e00ccac45
--- /dev/null
+++ b/libjava/javax/sound/sampled/spi/FormatConversionProvider.h
@@ -0,0 +1,50 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_sound_sampled_spi_FormatConversionProvider__
+#define __javax_sound_sampled_spi_FormatConversionProvider__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace sampled
+ {
+ class AudioFormat;
+ class AudioFormat$Encoding;
+ class AudioInputStream;
+ namespace spi
+ {
+ class FormatConversionProvider;
+ }
+ }
+ }
+ }
+}
+
+class javax::sound::sampled::spi::FormatConversionProvider : public ::java::lang::Object
+{
+
+public:
+ FormatConversionProvider();
+ virtual ::javax::sound::sampled::AudioInputStream * getAudioInputStream(::javax::sound::sampled::AudioFormat$Encoding *, ::javax::sound::sampled::AudioInputStream *) = 0;
+ virtual ::javax::sound::sampled::AudioInputStream * getAudioInputStream(::javax::sound::sampled::AudioFormat *, ::javax::sound::sampled::AudioInputStream *) = 0;
+ virtual JArray< ::javax::sound::sampled::AudioFormat$Encoding * > * getSourceEncodings() = 0;
+ virtual JArray< ::javax::sound::sampled::AudioFormat$Encoding * > * getTargetEncodings() = 0;
+ virtual JArray< ::javax::sound::sampled::AudioFormat$Encoding * > * getTargetEncodings(::javax::sound::sampled::AudioFormat *) = 0;
+ virtual JArray< ::javax::sound::sampled::AudioFormat * > * getTargetFormats(::javax::sound::sampled::AudioFormat$Encoding *, ::javax::sound::sampled::AudioFormat *) = 0;
+ virtual jboolean isConversionSupported(::javax::sound::sampled::AudioFormat$Encoding *, ::javax::sound::sampled::AudioFormat *);
+ virtual jboolean isConversionSupported(::javax::sound::sampled::AudioFormat *, ::javax::sound::sampled::AudioFormat *);
+ virtual jboolean isSourceEncodingSupported(::javax::sound::sampled::AudioFormat$Encoding *);
+ virtual jboolean isTargetEncodingSupported(::javax::sound::sampled::AudioFormat$Encoding *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_sound_sampled_spi_FormatConversionProvider__
diff --git a/libjava/javax/sound/sampled/spi/MixerProvider.h b/libjava/javax/sound/sampled/spi/MixerProvider.h
new file mode 100644
index 000000000..50fc476d0
--- /dev/null
+++ b/libjava/javax/sound/sampled/spi/MixerProvider.h
@@ -0,0 +1,42 @@
+
+// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
+
+#ifndef __javax_sound_sampled_spi_MixerProvider__
+#define __javax_sound_sampled_spi_MixerProvider__
+
+#pragma interface
+
+#include <java/lang/Object.h>
+#include <gcj/array.h>
+
+extern "Java"
+{
+ namespace javax
+ {
+ namespace sound
+ {
+ namespace sampled
+ {
+ class Mixer;
+ class Mixer$Info;
+ namespace spi
+ {
+ class MixerProvider;
+ }
+ }
+ }
+ }
+}
+
+class javax::sound::sampled::spi::MixerProvider : public ::java::lang::Object
+{
+
+public:
+ MixerProvider();
+ virtual ::javax::sound::sampled::Mixer * getMixer(::javax::sound::sampled::Mixer$Info *) = 0;
+ virtual JArray< ::javax::sound::sampled::Mixer$Info * > * getMixerInfo() = 0;
+ virtual jboolean isMixerSupported(::javax::sound::sampled::Mixer$Info *);
+ static ::java::lang::Class class$;
+};
+
+#endif // __javax_sound_sampled_spi_MixerProvider__