1 |
759 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __javax_sound_midi_Sequencer__
|
5 |
|
|
#define __javax_sound_midi_Sequencer__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/lang/Object.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
extern "Java"
|
13 |
|
|
{
|
14 |
|
|
namespace javax
|
15 |
|
|
{
|
16 |
|
|
namespace sound
|
17 |
|
|
{
|
18 |
|
|
namespace midi
|
19 |
|
|
{
|
20 |
|
|
class ControllerEventListener;
|
21 |
|
|
class MetaEventListener;
|
22 |
|
|
class MidiDevice$Info;
|
23 |
|
|
class Receiver;
|
24 |
|
|
class Sequence;
|
25 |
|
|
class Sequencer;
|
26 |
|
|
class Sequencer$SyncMode;
|
27 |
|
|
class Track;
|
28 |
|
|
class Transmitter;
|
29 |
|
|
}
|
30 |
|
|
}
|
31 |
|
|
}
|
32 |
|
|
}
|
33 |
|
|
|
34 |
|
|
class javax::sound::midi::Sequencer : public ::java::lang::Object
|
35 |
|
|
{
|
36 |
|
|
|
37 |
|
|
public:
|
38 |
|
|
virtual void setSequence(::javax::sound::midi::Sequence *) = 0;
|
39 |
|
|
virtual void setSequence(::java::io::InputStream *) = 0;
|
40 |
|
|
virtual ::javax::sound::midi::Sequence * getSequence() = 0;
|
41 |
|
|
virtual void start() = 0;
|
42 |
|
|
virtual void stop() = 0;
|
43 |
|
|
virtual jboolean isRunning() = 0;
|
44 |
|
|
virtual void startRecording() = 0;
|
45 |
|
|
virtual void stopRecording() = 0;
|
46 |
|
|
virtual jboolean isRecording() = 0;
|
47 |
|
|
virtual void recordEnable(::javax::sound::midi::Track *, jint) = 0;
|
48 |
|
|
virtual void recordDisable(::javax::sound::midi::Track *) = 0;
|
49 |
|
|
virtual jfloat getTempoInBPM() = 0;
|
50 |
|
|
virtual void setTempoInBPM(jfloat) = 0;
|
51 |
|
|
virtual jfloat getTempoInMPQ() = 0;
|
52 |
|
|
virtual void setTempoInMPQ(jfloat) = 0;
|
53 |
|
|
virtual void setTempoFactor(jfloat) = 0;
|
54 |
|
|
virtual jfloat getTempoFactor() = 0;
|
55 |
|
|
virtual jlong getTickLength() = 0;
|
56 |
|
|
virtual jlong getTickPosition() = 0;
|
57 |
|
|
virtual void setTickPosition(jlong) = 0;
|
58 |
|
|
virtual jlong getMicrosecondLength() = 0;
|
59 |
|
|
virtual jlong getMicrosecondPosition() = 0;
|
60 |
|
|
virtual void setMicrosecondPosition(jlong) = 0;
|
61 |
|
|
virtual void setMasterSyncMode(::javax::sound::midi::Sequencer$SyncMode *) = 0;
|
62 |
|
|
virtual ::javax::sound::midi::Sequencer$SyncMode * getMasterSyncMode() = 0;
|
63 |
|
|
virtual JArray< ::javax::sound::midi::Sequencer$SyncMode * > * getMasterSyncModes() = 0;
|
64 |
|
|
virtual void setSlaveSyncMode(::javax::sound::midi::Sequencer$SyncMode *) = 0;
|
65 |
|
|
virtual ::javax::sound::midi::Sequencer$SyncMode * getSlaveSyncMode() = 0;
|
66 |
|
|
virtual JArray< ::javax::sound::midi::Sequencer$SyncMode * > * getSlaveSyncModes() = 0;
|
67 |
|
|
virtual void setTrackMute(jint, jboolean) = 0;
|
68 |
|
|
virtual jboolean getTrackMute(jint) = 0;
|
69 |
|
|
virtual void setTrackSolo(jint, jboolean) = 0;
|
70 |
|
|
virtual jboolean getTrackSolo(jint) = 0;
|
71 |
|
|
virtual jboolean addMetaEventListener(::javax::sound::midi::MetaEventListener *) = 0;
|
72 |
|
|
virtual void removeMetaEventListener(::javax::sound::midi::MetaEventListener *) = 0;
|
73 |
|
|
virtual JArray< jint > * addControllerEventListener(::javax::sound::midi::ControllerEventListener *, JArray< jint > *) = 0;
|
74 |
|
|
virtual JArray< jint > * removeControllerEventListener(::javax::sound::midi::ControllerEventListener *, JArray< jint > *) = 0;
|
75 |
|
|
virtual ::javax::sound::midi::MidiDevice$Info * getDeviceInfo() = 0;
|
76 |
|
|
virtual void open() = 0;
|
77 |
|
|
virtual void close() = 0;
|
78 |
|
|
virtual jboolean isOpen() = 0;
|
79 |
|
|
virtual jint getMaxReceivers() = 0;
|
80 |
|
|
virtual jint getMaxTransmitters() = 0;
|
81 |
|
|
virtual ::javax::sound::midi::Receiver * getReceiver() = 0;
|
82 |
|
|
virtual ::javax::sound::midi::Transmitter * getTransmitter() = 0;
|
83 |
|
|
static ::java::lang::Class class$;
|
84 |
|
|
} __attribute__ ((java_interface));
|
85 |
|
|
|
86 |
|
|
#endif // __javax_sound_midi_Sequencer__
|