RetroArch
|
#include <string.h>
#include <string/stdstring.h>
#include <lists/string_list.h>
#include <retro_miscellaneous.h>
#include "../configuration.h"
#include "../verbosity.h"
#include "midi_driver.h"
Macros | |
#define | MIDI_DRIVER_BUF_SIZE 4096 |
Functions | |
static midi_driver_t * | midi_driver_find_driver (const char *ident) |
const void * | midi_driver_find_handle (int index) |
const char * | midi_driver_find_ident (int index) |
struct string_list * | midi_driver_get_avail_inputs (void) |
struct string_list * | midi_driver_get_avail_outputs (void) |
bool | midi_driver_set_all_sounds_off (void) |
bool | midi_driver_set_volume (unsigned volume) |
bool | midi_driver_init_io_buffers (void) |
bool | midi_driver_init (void) |
void | midi_driver_free (void) |
bool | midi_driver_set_input (const char *input) |
bool | midi_driver_set_output (const char *output) |
bool | midi_driver_input_enabled (void) |
bool | midi_driver_output_enabled (void) |
bool | midi_driver_read (uint8_t *byte) |
bool | midi_driver_write (uint8_t byte, uint32_t delta_time) |
bool | midi_driver_flush (void) |
size_t | midi_driver_get_event_size (uint8_t status) |
Variables | |
midi_driver_t | midi_null |
midi_driver_t | midi_winmm |
midi_driver_t | midi_alsa |
static midi_driver_t * | midi_drivers [] |
static midi_driver_t * | midi_drv = &midi_null |
static void * | midi_drv_data |
static struct string_list * | midi_drv_inputs |
static struct string_list * | midi_drv_outputs |
static bool | midi_drv_input_enabled |
static bool | midi_drv_output_enabled |
static uint8_t * | midi_drv_input_buffer |
static uint8_t * | midi_drv_output_buffer |
static midi_event_t | midi_drv_input_event |
static midi_event_t | midi_drv_output_event |
static bool | midi_drv_output_pending |
static const uint8_t | midi_drv_ev_sizes [128] |
#define MIDI_DRIVER_BUF_SIZE 4096 |
|
static |
const char* midi_driver_find_ident | ( | int | index | ) |
struct string_list* midi_driver_get_avail_inputs | ( | void | ) |
struct string_list* midi_driver_get_avail_outputs | ( | void | ) |
size_t midi_driver_get_event_size | ( | uint8_t | status | ) |
midi_driver_get_event_size: This is a convenience function for finding out the size of the event based on the status byte.
: Status (first) byte of the event.
Returns: Size of the event (in bytes). If 'status' argument is invalid (< 0x80) or 'status' represents start of the "SysEx" event (0xF0) this function will return 0.
bool midi_driver_set_volume | ( | unsigned | volume | ) |
midi_driver_t midi_alsa |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
midi_driver_t midi_null |
midi_driver_t midi_winmm |