RetroArch
Classes | Typedefs | Functions
midi_driver.h File Reference
#include <boolean.h>
#include <retro_common_api.h>
Include dependency graph for midi_driver.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  midi_event_t
 
struct  midi_driver
 

Typedefs

typedef struct midi_driver midi_driver_t
 

Functions

const voidmidi_driver_find_handle (int index)
 
const char * midi_driver_find_ident (int index)
 
struct string_listmidi_driver_get_avail_inputs (void)
 
struct string_listmidi_driver_get_avail_outputs (void)
 
bool midi_driver_set_all_sounds_off (void)
 
bool midi_driver_set_volume (unsigned volume)
 
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)
 

Typedef Documentation

◆ midi_driver_t

typedef struct midi_driver midi_driver_t

Function Documentation

◆ midi_driver_find_handle()

const void* midi_driver_find_handle ( int  index)
Here is the caller graph for this function:

◆ midi_driver_find_ident()

const char* midi_driver_find_ident ( int  index)
Here is the caller graph for this function:

◆ midi_driver_flush()

bool midi_driver_flush ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ midi_driver_free()

void midi_driver_free ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ midi_driver_get_avail_inputs()

struct string_list* midi_driver_get_avail_inputs ( void  )
Here is the caller graph for this function:

◆ midi_driver_get_avail_outputs()

struct string_list* midi_driver_get_avail_outputs ( void  )
Here is the caller graph for this function:

◆ midi_driver_get_event_size()

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.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ midi_driver_init()

bool midi_driver_init ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ midi_driver_input_enabled()

bool midi_driver_input_enabled ( void  )
Here is the caller graph for this function:

◆ midi_driver_output_enabled()

bool midi_driver_output_enabled ( void  )
Here is the caller graph for this function:

◆ midi_driver_read()

bool midi_driver_read ( uint8_t byte)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ midi_driver_set_all_sounds_off()

bool midi_driver_set_all_sounds_off ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ midi_driver_set_input()

bool midi_driver_set_input ( const char *  input)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ midi_driver_set_output()

bool midi_driver_set_output ( const char *  output)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ midi_driver_set_volume()

bool midi_driver_set_volume ( unsigned  volume)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ midi_driver_write()

bool midi_driver_write ( uint8_t  byte,
uint32_t  delta_time 
)
Here is the call graph for this function:
Here is the caller graph for this function: