summaryrefslogtreecommitdiff
path: root/libjava/javax/sound/sampled/AudioInputStream.h
blob: 5e07e8dc1a7584ab377e4a35f097c858df72df91 (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __javax_sound_sampled_AudioInputStream__
#define __javax_sound_sampled_AudioInputStream__

#pragma interface

#include <java/io/InputStream.h>
#include <gcj/array.h>

extern "Java"
{
  namespace javax
  {
    namespace sound
    {
      namespace sampled
      {
          class AudioFormat;
          class AudioInputStream;
          class TargetDataLine;
      }
    }
  }
}

class javax::sound::sampled::AudioInputStream : public ::java::io::InputStream
{

public:
  AudioInputStream(::java::io::InputStream *, ::javax::sound::sampled::AudioFormat *, jlong);
  AudioInputStream(::javax::sound::sampled::TargetDataLine *);
  virtual jint available();
  virtual void close();
  virtual ::javax::sound::sampled::AudioFormat * getFormat();
  virtual jlong getFrameLength();
  virtual void mark(jint);
  virtual jboolean markSupported();
  virtual jint read();
  virtual jint read(JArray< jbyte > *);
  virtual jint read(JArray< jbyte > *, jint, jint);
  virtual void reset();
  virtual jlong skip(jlong);
public: // actually protected
  ::javax::sound::sampled::AudioFormat * __attribute__((aligned(__alignof__( ::java::io::InputStream)))) format;
  jlong frameLength;
  jlong framePos;
  jint frameSize;
private:
  ::java::io::InputStream * input;
  jlong markedFramePos;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_sound_sampled_AudioInputStream__