1 |
756 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __gnu_javax_sound_midi_dssi_DSSISynthesizer__
|
5 |
|
|
#define __gnu_javax_sound_midi_dssi_DSSISynthesizer__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/lang/Object.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
extern "Java"
|
13 |
|
|
{
|
14 |
|
|
namespace gnu
|
15 |
|
|
{
|
16 |
|
|
namespace javax
|
17 |
|
|
{
|
18 |
|
|
namespace sound
|
19 |
|
|
{
|
20 |
|
|
namespace midi
|
21 |
|
|
{
|
22 |
|
|
namespace dssi
|
23 |
|
|
{
|
24 |
|
|
class DSSISynthesizer;
|
25 |
|
|
class DSSISynthesizer$DSSISoundbank;
|
26 |
|
|
}
|
27 |
|
|
}
|
28 |
|
|
}
|
29 |
|
|
}
|
30 |
|
|
}
|
31 |
|
|
namespace javax
|
32 |
|
|
{
|
33 |
|
|
namespace sound
|
34 |
|
|
{
|
35 |
|
|
namespace midi
|
36 |
|
|
{
|
37 |
|
|
class Instrument;
|
38 |
|
|
class MidiChannel;
|
39 |
|
|
class MidiDevice$Info;
|
40 |
|
|
class Patch;
|
41 |
|
|
class Receiver;
|
42 |
|
|
class Soundbank;
|
43 |
|
|
class Transmitter;
|
44 |
|
|
class VoiceStatus;
|
45 |
|
|
}
|
46 |
|
|
}
|
47 |
|
|
}
|
48 |
|
|
}
|
49 |
|
|
|
50 |
|
|
class gnu::javax::sound::midi::dssi::DSSISynthesizer : public ::java::lang::Object
|
51 |
|
|
{
|
52 |
|
|
|
53 |
|
|
public: // actually package-private
|
54 |
|
|
static void noteOn_(jlong, jint, jint, jint);
|
55 |
|
|
static void noteOff_(jlong, jint, jint, jint);
|
56 |
|
|
static void setPolyPressure_(jlong, jint, jint, jint);
|
57 |
|
|
static jint getPolyPressure_(jlong, jint, jint);
|
58 |
|
|
static void controlChange_(jlong, jint, jint, jint);
|
59 |
|
|
static void open_(jlong);
|
60 |
|
|
static void close_(jlong);
|
61 |
|
|
static ::java::lang::String * getProgramName_(jlong, jint);
|
62 |
|
|
static jint getProgramBank_(jlong, jint);
|
63 |
|
|
static jint getProgramProgram_(jlong, jint);
|
64 |
|
|
static void selectProgram_(jlong, jint, jint);
|
65 |
|
|
public:
|
66 |
|
|
DSSISynthesizer(::javax::sound::midi::MidiDevice$Info *, ::java::lang::String *, jlong);
|
67 |
|
|
virtual jint getMaxPolyphony();
|
68 |
|
|
virtual jlong getLatency();
|
69 |
|
|
virtual JArray< ::javax::sound::midi::MidiChannel * > * getChannels();
|
70 |
|
|
virtual JArray< ::javax::sound::midi::VoiceStatus * > * getVoiceStatus();
|
71 |
|
|
virtual jboolean isSoundbankSupported(::javax::sound::midi::Soundbank *);
|
72 |
|
|
virtual jboolean loadInstrument(::javax::sound::midi::Instrument *);
|
73 |
|
|
virtual void unloadInstrument(::javax::sound::midi::Instrument *);
|
74 |
|
|
virtual jboolean remapInstrument(::javax::sound::midi::Instrument *, ::javax::sound::midi::Instrument *);
|
75 |
|
|
virtual ::javax::sound::midi::Soundbank * getDefaultSoundbank();
|
76 |
|
|
virtual JArray< ::javax::sound::midi::Instrument * > * getAvailableInstruments();
|
77 |
|
|
virtual JArray< ::javax::sound::midi::Instrument * > * getLoadedInstruments();
|
78 |
|
|
virtual jboolean loadAllInstruments(::javax::sound::midi::Soundbank *);
|
79 |
|
|
virtual void unloadAllInstruments(::javax::sound::midi::Soundbank *);
|
80 |
|
|
virtual jboolean loadInstruments(::javax::sound::midi::Soundbank *, JArray< ::javax::sound::midi::Patch * > *);
|
81 |
|
|
virtual void unloadInstruments(::javax::sound::midi::Soundbank *, JArray< ::javax::sound::midi::Patch * > *);
|
82 |
|
|
virtual ::javax::sound::midi::MidiDevice$Info * getDeviceInfo();
|
83 |
|
|
virtual void open();
|
84 |
|
|
virtual void close();
|
85 |
|
|
virtual jboolean isOpen();
|
86 |
|
|
virtual jlong getMicrosecondPosition();
|
87 |
|
|
virtual jint getMaxReceivers();
|
88 |
|
|
virtual jint getMaxTransmitters();
|
89 |
|
|
virtual ::javax::sound::midi::Receiver * getReceiver();
|
90 |
|
|
virtual ::javax::sound::midi::Transmitter * getTransmitter();
|
91 |
|
|
public: // actually package-private
|
92 |
|
|
jlong __attribute__((aligned(__alignof__( ::java::lang::Object)))) sohandle;
|
93 |
|
|
jlong handle;
|
94 |
|
|
private:
|
95 |
|
|
::javax::sound::midi::MidiDevice$Info * info;
|
96 |
|
|
public: // actually package-private
|
97 |
|
|
JArray< ::javax::sound::midi::MidiChannel * > * channels;
|
98 |
|
|
::java::util::List * soundbanks;
|
99 |
|
|
::gnu::javax::sound::midi::dssi::DSSISynthesizer$DSSISoundbank * defaultSoundbank;
|
100 |
|
|
public:
|
101 |
|
|
static ::java::lang::Class class$;
|
102 |
|
|
};
|
103 |
|
|
|
104 |
|
|
#endif // __gnu_javax_sound_midi_dssi_DSSISynthesizer__
|