2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __javax_sound_sampled_DataLine__
5 #define __javax_sound_sampled_DataLine__
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
31 class javax::sound::sampled::DataLine
: public ::java::lang::Object
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__