author Vitaly Novichkov
Mon, 23 Dec 2019 14:01:02 +0300
changeset 1119 24ca9a03d51c
parent 578 3b2c95ee3398
permissions -rw-r--r--
introduce MetaTags api

In some games or players it would be possible to print a title and
some minor tags about playing music.

There are 5 added functions which can give meta-tags from music if
they are available or supported by a codec:
- Mix_GetMusicTitle() gives song title.
Unlike Mix_GetMusicTitleTag, returns filename if tag is blank.
- Mix_GetMusicTitleTag() gives song title
- Mix_GetMusicArtistTag() gives artist name
- Mix_GetMusicAlbumTag() gives album name
- Mix_GetMusicCopyrightTag() gives copyright tag
     1 prefix=@prefix@
     2 exec_prefix=@exec_prefix@
     3 libdir=@libdir@
     4 includedir=@includedir@
     6 Name: SDL2_mixer
     7 Description: mixer library for Simple DirectMedia Layer
     8 Version: @VERSION@
     9 Requires: sdl2 >= @SDL_VERSION@
    10 Libs: -L${libdir} -lSDL2_mixer
    11 Cflags: -I${includedir}/SDL2