00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef __JackWinMMEDriver__
00022 #define __JackWinMMEDriver__
00023
00024 #include "JackMidiDriver.h"
00025 #include "JackWinMMEInputPort.h"
00026 #include "JackWinMMEOutputPort.h"
00027
00028 namespace Jack {
00029
00030 class JackWinMMEDriver : public JackMidiDriver {
00031
00032 private:
00033
00034 JackWinMMEInputPort **input_ports;
00035 JackWinMMEOutputPort **output_ports;
00036 UINT period;
00037
00038 public:
00039
00040 JackWinMMEDriver(const char* name, const char* alias,
00041 JackLockedEngine* engine, JackSynchro* table);
00042
00043 ~JackWinMMEDriver();
00044
00045 int
00046 Attach();
00047
00048 int
00049 Close();
00050
00051 int
00052 Open(bool capturing, bool playing, int num_inputs, int num_outputs,
00053 bool monitor, const char* capture_driver_name,
00054 const char* playback_driver_name, jack_nframes_t capture_latency,
00055 jack_nframes_t playback_latency);
00056
00057 int
00058 Read();
00059
00060 int
00061 Start();
00062
00063 int
00064 Stop();
00065
00066 int
00067 Write();
00068
00069 };
00070
00071 }
00072
00073 #endif