kode54/Game_Music_Emu

List all supported extensions

pinobatch opened this issue · 1 comments

I want to list all types that my music player's Game_Music_Emu plug-in can play. I can iterate through types with gme_type_list(), but all I can retrieve about each type through the C API are the name of the console it's associated with (gme_type_system()) and and whether the type supports multiple movements (gme_type_multitrack()). I'd like to be able to look up the most common extension associated with a track. I can go from extension to type (gme_identify_extension()), but not the other way around.

I have added gme_type_extension(gme_type_t), which returns const char*.