|
CorsixTH engine (the C++ part)
Open source implementation of Theme Hospital
|
#include "xmi2mid.h"#include "config.h"#include <algorithm>#include <cmath>#include <cstring>#include <new>#include <stdexcept>#include <vector>Classes | |
| class | memory_buffer |
Functions | |
| bool | is_little_endian () |
| bool | operator< (const midi_token &oLeft, const midi_token &oRight) |
| void | early_eof () |
| midi_token_list | xmi_to_midi_token_list (const unsigned char *xmi_data, size_t xmi_length, uint32_t &iTempo) |
| uint8_t * | transcode_xmi_to_midi (const unsigned char *xmi_data, size_t xmi_length, size_t *midi_length) |
| void early_eof | ( | ) |
| bool is_little_endian | ( | ) |
Determines if the system is little-endian This function can be replaced with std::endian when we move to C++20
| bool operator< | ( | const midi_token & | oLeft, |
| const midi_token & | oRight | ||
| ) |
| uint8_t * transcode_xmi_to_midi | ( | const unsigned char * | xmi_data, |
| size_t | xmi_length, | ||
| size_t * | midi_length | ||
| ) |
| midi_token_list xmi_to_midi_token_list | ( | const unsigned char * | xmi_data, |
| size_t | xmi_length, | ||
| uint32_t & | iTempo | ||
| ) |