Build 9214
GIT-
Don't try to open device if it isn't in
Mostra dettagli
the list as returned by ALSADrv_MIDI_ListPorts. Opening a device with ALSA_PortID == 0 might technically be successful even if not present.
-
Generale
Audio / Duke3D: Modify alsa_mididevinfo_t to manage memory use of
Mostra dettagli
the "name" field on its own. Also make sure that the for loop in Menu_RefreshSoundProperties isn't accessing copies of the objects, including temporary copies of the "name" strings. It could be managed in a better way, but this should be usable for now.
-
Do free driver name strings duplicated using Xstrdup
-
Refuse to initialize if Client:Port pair isn't in the list
-
Fix potential crashes in menu if no ALSA MIDI device is found