summaryrefslogtreecommitdiff
path: root/libjava/gnu/javax/sound/sampled/gstreamer/lines/GstDataLine.h
blob: 20ef7deb826c1840c2e94d0c7cba48fb10ccd48a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
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__