version.rc
author Vitaly Novichkov
Mon, 23 Dec 2019 14:01:02 +0300
changeset 1119 24ca9a03d51c
parent 926 d6c9518fb5ee
child 1129 888c7be704ce
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 
     2 #include "winresrc.h"
     3 
     4 LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
     5 
     6 /////////////////////////////////////////////////////////////////////////////
     7 //
     8 // Version
     9 //
    10 
    11 VS_VERSION_INFO VERSIONINFO
    12  FILEVERSION 2,0,4,0
    13  PRODUCTVERSION 2,0,4,0
    14  FILEFLAGSMASK 0x3fL
    15  FILEFLAGS 0x0L
    16  FILEOS 0x40004L
    17  FILETYPE 0x2L
    18  FILESUBTYPE 0x0L
    19 BEGIN
    20     BLOCK "StringFileInfo"
    21     BEGIN
    22         BLOCK "040904b0"
    23         BEGIN
    24             VALUE "CompanyName", "\0"
    25             VALUE "FileDescription", "SDL_mixer\0"
    26             VALUE "FileVersion", "2, 0, 4, 0\0"
    27             VALUE "InternalName", "SDL_mixer\0"
    28             VALUE "LegalCopyright", "Copyright  2019 Sam Lantinga\0"
    29             VALUE "OriginalFilename", "SDL_mixer.dll\0"
    30             VALUE "ProductName", "Simple DirectMedia Layer\0"
    31             VALUE "ProductVersion", "2, 0, 4, 0\0"
    32         END
    33     END
    34     BLOCK "VarFileInfo"
    35     BEGIN
    36         VALUE "Translation", 0x409, 1200
    37     END
    38 END