1 |
759 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __javax_sound_sampled_AudioSystem__
|
5 |
|
|
#define __javax_sound_sampled_AudioSystem__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/lang/Object.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
extern "Java"
|
13 |
|
|
{
|
14 |
|
|
namespace java
|
15 |
|
|
{
|
16 |
|
|
namespace net
|
17 |
|
|
{
|
18 |
|
|
class URL;
|
19 |
|
|
}
|
20 |
|
|
}
|
21 |
|
|
namespace javax
|
22 |
|
|
{
|
23 |
|
|
namespace sound
|
24 |
|
|
{
|
25 |
|
|
namespace sampled
|
26 |
|
|
{
|
27 |
|
|
class AudioFileFormat;
|
28 |
|
|
class AudioFileFormat$Type;
|
29 |
|
|
class AudioFormat;
|
30 |
|
|
class AudioFormat$Encoding;
|
31 |
|
|
class AudioInputStream;
|
32 |
|
|
class AudioSystem;
|
33 |
|
|
class Clip;
|
34 |
|
|
class Line;
|
35 |
|
|
class Line$Info;
|
36 |
|
|
class Mixer;
|
37 |
|
|
class Mixer$Info;
|
38 |
|
|
class SourceDataLine;
|
39 |
|
|
class TargetDataLine;
|
40 |
|
|
}
|
41 |
|
|
}
|
42 |
|
|
}
|
43 |
|
|
}
|
44 |
|
|
|
45 |
|
|
class javax::sound::sampled::AudioSystem : public ::java::lang::Object
|
46 |
|
|
{
|
47 |
|
|
|
48 |
|
|
AudioSystem();
|
49 |
|
|
public:
|
50 |
|
|
static ::javax::sound::sampled::AudioFileFormat * getAudioFileFormat(::java::io::File *);
|
51 |
|
|
static ::javax::sound::sampled::AudioFileFormat * getAudioFileFormat(::java::io::InputStream *);
|
52 |
|
|
static ::javax::sound::sampled::AudioFileFormat * getAudioFileFormat(::java::net::URL *);
|
53 |
|
|
static JArray< ::javax::sound::sampled::AudioFileFormat$Type * > * getAudioFileTypes();
|
54 |
|
|
static JArray< ::javax::sound::sampled::AudioFileFormat$Type * > * getAudioFileTypes(::javax::sound::sampled::AudioInputStream *);
|
55 |
|
|
static ::javax::sound::sampled::AudioInputStream * getAudioInputStream(::javax::sound::sampled::AudioFormat$Encoding *, ::javax::sound::sampled::AudioInputStream *);
|
56 |
|
|
static ::javax::sound::sampled::AudioInputStream * getAudioInputStream(::javax::sound::sampled::AudioFormat *, ::javax::sound::sampled::AudioInputStream *);
|
57 |
|
|
static ::javax::sound::sampled::AudioInputStream * getAudioInputStream(::java::io::File *);
|
58 |
|
|
static ::javax::sound::sampled::AudioInputStream * getAudioInputStream(::java::io::InputStream *);
|
59 |
|
|
static ::javax::sound::sampled::AudioInputStream * getAudioInputStream(::java::net::URL *);
|
60 |
|
|
static ::javax::sound::sampled::Clip * getClip();
|
61 |
|
|
static ::javax::sound::sampled::Clip * getClip(::javax::sound::sampled::Mixer$Info *);
|
62 |
|
|
static ::javax::sound::sampled::Line * getLine(::javax::sound::sampled::Line$Info *);
|
63 |
|
|
static ::javax::sound::sampled::Mixer * getMixer(::javax::sound::sampled::Mixer$Info *);
|
64 |
|
|
static JArray< ::javax::sound::sampled::Mixer$Info * > * getMixerInfo();
|
65 |
|
|
static ::javax::sound::sampled::SourceDataLine * getSourceDataLine(::javax::sound::sampled::AudioFormat *);
|
66 |
|
|
static ::javax::sound::sampled::SourceDataLine * getSourceDataLine(::javax::sound::sampled::AudioFormat *, ::javax::sound::sampled::Mixer$Info *);
|
67 |
|
|
static JArray< ::javax::sound::sampled::Line$Info * > * getSourceLineInfo(::javax::sound::sampled::Line$Info *);
|
68 |
|
|
static ::javax::sound::sampled::TargetDataLine * getTargetDataLine(::javax::sound::sampled::AudioFormat *);
|
69 |
|
|
static ::javax::sound::sampled::TargetDataLine * getTargetDataLine(::javax::sound::sampled::AudioFormat *, ::javax::sound::sampled::Mixer$Info *);
|
70 |
|
|
static JArray< ::javax::sound::sampled::AudioFormat$Encoding * > * getTargetEncodings(::javax::sound::sampled::AudioFormat$Encoding *);
|
71 |
|
|
static JArray< ::javax::sound::sampled::AudioFormat$Encoding * > * getTargetEncodings(::javax::sound::sampled::AudioFormat *);
|
72 |
|
|
static JArray< ::javax::sound::sampled::AudioFormat * > * getTargetFormats(::javax::sound::sampled::AudioFormat$Encoding *, ::javax::sound::sampled::AudioFormat *);
|
73 |
|
|
static JArray< ::javax::sound::sampled::Line$Info * > * getTargetLineInfo(::javax::sound::sampled::Line$Info *);
|
74 |
|
|
static jboolean isConversionSupported(::javax::sound::sampled::AudioFormat$Encoding *, ::javax::sound::sampled::AudioFormat *);
|
75 |
|
|
static jboolean isConversionSupported(::javax::sound::sampled::AudioFormat *, ::javax::sound::sampled::AudioFormat *);
|
76 |
|
|
private:
|
77 |
|
|
static jboolean isFileTypeSupported(JArray< ::javax::sound::sampled::AudioFileFormat$Type * > *, ::javax::sound::sampled::AudioFileFormat$Type *);
|
78 |
|
|
public:
|
79 |
|
|
static jboolean isFileTypeSupported(::javax::sound::sampled::AudioFileFormat$Type *);
|
80 |
|
|
static jboolean isFileTypeSupported(::javax::sound::sampled::AudioFileFormat$Type *, ::javax::sound::sampled::AudioInputStream *);
|
81 |
|
|
static jboolean isLineSupported(::javax::sound::sampled::Line$Info *);
|
82 |
|
|
static jint write(::javax::sound::sampled::AudioInputStream *, ::javax::sound::sampled::AudioFileFormat$Type *, ::java::io::File *);
|
83 |
|
|
static jint write(::javax::sound::sampled::AudioInputStream *, ::javax::sound::sampled::AudioFileFormat$Type *, ::java::io::OutputStream *);
|
84 |
|
|
static const jint NOT_SPECIFIED = -1;
|
85 |
|
|
static ::java::lang::Class class$;
|
86 |
|
|
};
|
87 |
|
|
|
88 |
|
|
#endif // __javax_sound_sampled_AudioSystem__
|