1 |
759 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __javax_sound_midi_Synthesizer__
|
5 |
|
|
#define __javax_sound_midi_Synthesizer__
|
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 Instrument;
|
21 |
|
|
class MidiChannel;
|
22 |
|
|
class MidiDevice$Info;
|
23 |
|
|
class Patch;
|
24 |
|
|
class Receiver;
|
25 |
|
|
class Soundbank;
|
26 |
|
|
class Synthesizer;
|
27 |
|
|
class Transmitter;
|
28 |
|
|
class VoiceStatus;
|
29 |
|
|
}
|
30 |
|
|
}
|
31 |
|
|
}
|
32 |
|
|
}
|
33 |
|
|
|
34 |
|
|
class javax::sound::midi::Synthesizer : public ::java::lang::Object
|
35 |
|
|
{
|
36 |
|
|
|
37 |
|
|
public:
|
38 |
|
|
virtual jint getMaxPolyphony() = 0;
|
39 |
|
|
virtual jlong getLatency() = 0;
|
40 |
|
|
virtual JArray< ::javax::sound::midi::MidiChannel * > * getChannels() = 0;
|
41 |
|
|
virtual JArray< ::javax::sound::midi::VoiceStatus * > * getVoiceStatus() = 0;
|
42 |
|
|
virtual jboolean isSoundbankSupported(::javax::sound::midi::Soundbank *) = 0;
|
43 |
|
|
virtual jboolean loadInstrument(::javax::sound::midi::Instrument *) = 0;
|
44 |
|
|
virtual void unloadInstrument(::javax::sound::midi::Instrument *) = 0;
|
45 |
|
|
virtual jboolean remapInstrument(::javax::sound::midi::Instrument *, ::javax::sound::midi::Instrument *) = 0;
|
46 |
|
|
virtual ::javax::sound::midi::Soundbank * getDefaultSoundbank() = 0;
|
47 |
|
|
virtual JArray< ::javax::sound::midi::Instrument * > * getAvailableInstruments() = 0;
|
48 |
|
|
virtual JArray< ::javax::sound::midi::Instrument * > * getLoadedInstruments() = 0;
|
49 |
|
|
virtual jboolean loadAllInstruments(::javax::sound::midi::Soundbank *) = 0;
|
50 |
|
|
virtual void unloadAllInstruments(::javax::sound::midi::Soundbank *) = 0;
|
51 |
|
|
virtual jboolean loadInstruments(::javax::sound::midi::Soundbank *, JArray< ::javax::sound::midi::Patch * > *) = 0;
|
52 |
|
|
virtual void unloadInstruments(::javax::sound::midi::Soundbank *, JArray< ::javax::sound::midi::Patch * > *) = 0;
|
53 |
|
|
virtual ::javax::sound::midi::MidiDevice$Info * getDeviceInfo() = 0;
|
54 |
|
|
virtual void open() = 0;
|
55 |
|
|
virtual void close() = 0;
|
56 |
|
|
virtual jboolean isOpen() = 0;
|
57 |
|
|
virtual jlong getMicrosecondPosition() = 0;
|
58 |
|
|
virtual jint getMaxReceivers() = 0;
|
59 |
|
|
virtual jint getMaxTransmitters() = 0;
|
60 |
|
|
virtual ::javax::sound::midi::Receiver * getReceiver() = 0;
|
61 |
|
|
virtual ::javax::sound::midi::Transmitter * getTransmitter() = 0;
|
62 |
|
|
static ::java::lang::Class class$;
|
63 |
|
|
} __attribute__ ((java_interface));
|
64 |
|
|
|
65 |
|
|
#endif // __javax_sound_midi_Synthesizer__
|