blob: 56afb46bae3592b5a77362c6ddb8a0725102a0b3 (
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_GstPipeline__
#define __gnu_javax_sound_sampled_gstreamer_lines_GstPipeline__
#pragma interface
#include <java/lang/Object.h>
#include <gcj/array.h>
extern "Java"
{
namespace gnu
{
namespace classpath
{
class Pointer;
}
namespace javax
{
namespace sound
{
namespace sampled
{
namespace gstreamer
{
namespace lines
{
class GstPipeline;
class GstPipeline$State;
}
}
}
}
}
}
}
class gnu::javax::sound::sampled::gstreamer::lines::GstPipeline : public ::java::lang::Object
{
public:
GstPipeline();
GstPipeline(jint);
virtual void createForWrite();
virtual ::gnu::javax::sound::sampled::gstreamer::lines::GstPipeline$State * getState();
virtual void close();
virtual void setState(::gnu::javax::sound::sampled::gstreamer::lines::GstPipeline$State *);
virtual ::gnu::classpath::Pointer * getNativeClass();
virtual jint write(JArray< jbyte > *, jint, jint);
virtual jint read(JArray< jbyte > *, jint, jint);
virtual jint available();
virtual void drain();
virtual void flush();
private:
void closePipe();
void prepareWrite();
static void init_id_cache();
static jboolean set_state(::gnu::classpath::Pointer *, jint);
static jint available(::gnu::classpath::Pointer *, jint);
static void open_native_pipe(::gnu::classpath::Pointer *, jint);
static void close_native_pipe(::gnu::classpath::Pointer *);
void init_instance();
jboolean create_named_pipe(::gnu::classpath::Pointer *);
jlong detect_pipe_size();
public: // actually package-private
static ::gnu::classpath::Pointer * access$0(::gnu::javax::sound::sampled::gstreamer::lines::GstPipeline *);
static void access$1(::gnu::classpath::Pointer *);
static JArray< jint > * $SWITCH_TABLE$gnu$javax$sound$sampled$gstreamer$lines$GstPipeline$State();
private:
static const jint READ = 0;
static const jint WRITE = 1;
static const jint QUEUED = 1;
static ::java::lang::String * CAPACITY_KEY;
static JArray< ::java::lang::Object * > * lock;
public: // actually protected
::java::util::prefs::Preferences * __attribute__((aligned(__alignof__( ::java::lang::Object)))) prefs;
private:
jlong capacity;
::gnu::javax::sound::sampled::gstreamer::lines::GstPipeline$State * state;
::java::lang::String * name;
::java::io::FileOutputStream * output;
jboolean source;
jboolean ready;
::gnu::classpath::Pointer * pipeline;
static JArray< jint > * $SWITCH_TABLE$gnu$javax$sound$sampled$gstreamer$lines$GstPipeline$State__;
public:
static ::java::lang::Class class$;
};
#endif // __gnu_javax_sound_sampled_gstreamer_lines_GstPipeline__
|