Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List all supported extensions #7

Open
pinobatch opened this issue Jul 17, 2017 · 1 comment
Open

List all supported extensions #7

pinobatch opened this issue Jul 17, 2017 · 1 comment

Comments

@pinobatch
Copy link

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.

@kode54
Copy link
Owner

kode54 commented Jul 18, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants