2 Skelton for retropc emulator
4 Author : K.Ohta <whatisthis.sowhat _at_ gmail.com>
11 #include "../types/util_sound.h"
12 #include "../types/util_endians.h"
15 #include "gui/menu_flags.h"
17 #if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
18 #include <QApplication>
23 // Note: Will implement real body.
24 void OSD_BASE::initialize_midi()
28 void OSD_BASE::release_midi()
32 void OSD_BASE::send_to_midi(uint8_t data, int ch, double timestamp_usec)
34 // Need to convert timestamp_usec to relative mSec.
37 bool OSD_BASE::recv_from_midi(uint8_t* data, int ch, double timestamp_usec)
39 // Need to convert timestamp_usec to relative mSec.
43 bool OSD_BASE::send_to_midi_timeout(uint8_t data, int ch, uint64_t timeout_ms, double timestamp_usec)
45 // Need to convert timestamp_usec to relative mSec.
49 bool OSD_BASE::recv_from_midi_timeout(uint8_t* data, int ch, uint64_t timeout_ms, double timestamp_usec)
51 // Need to convert timestamp_usec to relative mSec.
55 void OSD_BASE::notify_timeout_sending_to_midi(int ch)
58 vm->notify_timeout_sending_to_midi(ch);
62 void OSD_BASE::notify_timeout_receiving_from_midi(int ch)
65 vm->notify_timeout_receiving_from_midi(ch);
69 void OSD_BASE::reset_to_midi(int ch, double timestamp_usec)
71 //ToDo: Will implement.
74 void OSD_BASE::initialize_midi_device(bool handshake_from_midi, bool handshake_to_midi, int ch)
76 //ToDo: Will implement.
79 void OSD_BASE::ready_receive_from_midi(int ch, double timestamp_usec)
82 vm->ready_receive_from_midi(ch, timestamp_usec);
86 void OSD_BASE::ready_send_to_midi(int ch, double timestamp_usec)
88 // ToDo: Will Implement.
91 void OSD_BASE::request_stop_to_receive_from_midi(int ch, double timestamp_usec)
93 // ToDo: Will Implement.
96 void OSD_BASE::request_stop_to_send_to_midi(int ch, double timestamp_usec)
99 vm->request_stop_to_send_to_midi(ch, timestamp_usec);