Merged gcj-eclipse branch to trunk.
[official-gcc.git] / libjava / javax / sound / sampled / DataLine.h
blob257fd9b7781afb497a06ae0bb26dc95d49cd24ff
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __javax_sound_sampled_DataLine__
5 #define __javax_sound_sampled_DataLine__
7 #pragma interface
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
12 extern "Java"
14 namespace javax
16 namespace sound
18 namespace sampled
20 class AudioFormat;
21 class Control;
22 class Control$Type;
23 class DataLine;
24 class Line$Info;
25 class LineListener;
31 class javax::sound::sampled::DataLine : public ::java::lang::Object
34 public:
35 virtual jint available() = 0;
36 virtual void drain() = 0;
37 virtual void flush() = 0;
38 virtual jint getBufferSize() = 0;
39 virtual ::javax::sound::sampled::AudioFormat * getFormat() = 0;
40 virtual jint getFramePosition() = 0;
41 virtual jfloat getLevel() = 0;
42 virtual jlong getLongFramePosition() = 0;
43 virtual jlong getMicrosecondPosition() = 0;
44 virtual jboolean isActive() = 0;
45 virtual jboolean isRunning() = 0;
46 virtual void start() = 0;
47 virtual void stop() = 0;
48 virtual void addLineListener(::javax::sound::sampled::LineListener *) = 0;
49 virtual void close() = 0;
50 virtual ::javax::sound::sampled::Control * getControl(::javax::sound::sampled::Control$Type *) = 0;
51 virtual JArray< ::javax::sound::sampled::Control * > * getControls() = 0;
52 virtual ::javax::sound::sampled::Line$Info * getLineInfo() = 0;
53 virtual jboolean isControlSupported(::javax::sound::sampled::Control$Type *) = 0;
54 virtual jboolean isOpen() = 0;
55 virtual void open() = 0;
56 virtual void removeLineListener(::javax::sound::sampled::LineListener *) = 0;
57 static ::java::lang::Class class$;
58 } __attribute__ ((java_interface));
60 #endif // __javax_sound_sampled_DataLine__