Home
last modified time | relevance | path

Searched refs:usbmidi_port_names (Results 1 – 3 of 3) sorted by relevance

/haiku/src/add-ons/kernel/drivers/midi/usb_midi/
H A Ddevlist.cpp112 char** usbmidi_port_names = NULL; variable
118 assert(usbmidi_port_names == NULL); in alloc_port_names()
119 usbmidi_port_names = (char**)malloc(sizeof(char*) in alloc_port_names()
127 if (usbmidi_port_names != NULL) { in free_port_names()
129 for (i = 0; usbmidi_port_names[i] != NULL; i++) in free_port_names()
130 free(usbmidi_port_names[i]); in free_port_names()
131 free(usbmidi_port_names); in free_port_names()
132 usbmidi_port_names = NULL; in free_port_names()
143 assert(usbmidi_port_names != NULL); in rebuild_port_names()
146 usbmidi_port_names[i++] = strdup(port->name); in rebuild_port_names()
[all …]
H A Dusb_midi.h156 extern char** usbmidi_port_names;
H A Dusb_midi.cpp824 if (usbmidi_port_names != NULL) in publish_devices()
828 assert(usbmidi_port_names != NULL); in publish_devices()
829 return (const char**)usbmidi_port_names; in publish_devices()