SDL_mixer music.type export please!

could we get the music.type somehow available…
there are a few situations where Mix_function doesn’t act the same for each type of music…
like Mix_SetMusicPosition acts differently (as documented in the SDL_mixer docs)
so…some knowledge of the music.type would help when programming against an unknown input music type…
I can make a function into a patch if you want.–
-==-
Jon Atkins
http://jcatki.2y.net/

could we get the music.type somehow available…

You got it:

  • Added a function to query the music format: Mix_GetMusicType()

CVS snapshot:
http://www.libsdl.org/cvs/SDL_mixer-1.2.4.tar.gz

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment

Sam Lantinga wrote:

could we get the music.type somehow available…

You got it:

  • Added a function to query the music format: Mix_GetMusicType()

CVS snapshot:
http://www.libsdl.org/cvs/SDL_mixer-1.2.4.tar.gz

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

docs updated ;)–
-==-
Jon Atkins
http://jcatki.2y.net/

could we get the music.type somehow available…
You got it:

  • Added a function to query the music format: Mix_GetMusicType()
    docs updated :wink:

Are you trying to compete with Sam in the activity contest? Even though you
seem pretty active, you don’t stand a chance :wink:

-Ga?tan.

Ga?tan de Menten wrote:

could we get the music.type somehow available…

You got it:

  • Added a function to query the music format: Mix_GetMusicType()

docs updated :wink:

Are you trying to compete with Sam in the activity contest? Even though you
seem pretty active, you don’t stand a chance :wink:

-Ga?tan.

no, I am trying to write demos for my SDL_mixer docs…

This isn’t a contest…I’m just trying to do things…–
-==-
Jon Atkins
http://jcatki.2y.net/