foxygit / doom Log in
commit 24a33a805b51af0dec3be1bdcffa3dc9c3f524e2
Author:     Simon Howard <fraggle@gmail.com>
AuthorDate: Mon Apr 7 02:22:37 2014 -0400
Commit:     Simon Howard <fraggle@gmail.com>
CommitDate: Mon Apr 7 02:22:37 2014 -0400

    music: Suggest using .ogg format, not .mp3.

    Using the .mp3 extension in generated music config files carries an
    implicit recommendation to use that format. There are a number of
    reasons to prefer other formats. The biggest is that MP3 is patent
    encumbered. Furthermore, while FLAC and Ogg Vorbis both support the
    Vorbis comment format that allows metadata loop point tags to be
    specified.
---
 src/i_sdlmusic.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/i_sdlmusic.c b/src/i_sdlmusic.c
index 3985f6e4..e2be3f50 100644
--- a/src/i_sdlmusic.c
+++ b/src/i_sdlmusic.c
@@ -390,7 +390,7 @@ static void DumpSubstituteConfig(char *filename)
             fprintf(fs, "%02x", digest[h]);
         }

-        fprintf(fs, " = %s.mp3\n", name);
+        fprintf(fs, " = %s.ogg\n", name);
     }

     fprintf(fs, "\n");