Skip to content

Commit

Permalink
convert mod-tracker music to ogg for use on Android
Browse files Browse the repository at this point in the history
- SDL1.2 mixer support for mod-tracker music seems broken on ARM,
  see also pelya/commandergenius#113
- ogg playing works fine, so easier to convert music files rather
  than fixing sdl-mixer
  • Loading branch information
ReinhardPrix committed Nov 6, 2023
1 parent bee5935 commit f2b3cc7
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 0 deletions.
Binary file added sound/AnarchyMenu1.mod.ogg
Binary file not shown.
Binary file added sound/The_Last_V8.mod.ogg
Binary file not shown.
Binary file added sound/android-commando_hiscore.mod.ogg
Binary file not shown.
Binary file added sound/dreamfish-green_beret.mod.ogg
Binary file not shown.
Binary file added sound/dreamfish-sanxion.mod.ogg
Binary file not shown.
Binary file added sound/dreamfish-uridium2_loader.mod.ogg
Binary file not shown.
Binary file added sound/kollaps-tron.mod.ogg
Binary file not shown.
Binary file added sound/starpaws.mod.ogg
Binary file not shown.
10 changes: 10 additions & 0 deletions src/sound.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,15 @@ Mix_Chunk *Loaded_WAV_Files[ALL_SOUNDS];
#endif

char *MusicFiles [NUM_COLORS] = { // we have a background song per color now
#ifdef ANDROID
"AnarchyMenu1.mod.ogg", // RED
"starpaws.mod.ogg", // YELLOW
"The_Last_V8.mod.ogg", // GREEN
"dreamfish-green_beret.mod.ogg", // GRAY
"dreamfish-sanxion.mod.ogg", // BLUE // CRASHES the GCW0 ???
"kollaps-tron.mod.ogg", // GREENBLUE
"dreamfish-uridium2_loader.mod.ogg" // DARK
#else
"AnarchyMenu1.mod", // RED
"starpaws.mod", // YELLOW
"The_Last_V8.mod", // GREEN
Expand All @@ -97,6 +106,7 @@ char *MusicFiles [NUM_COLORS] = { // we have a background song per color now
#endif
"kollaps-tron.mod", // GREENBLUE
"dreamfish-uridium2_loader.mod" // DARK
#endif // ANDROID
};

#ifdef HAVE_LIBSDL_MIXER
Expand Down

0 comments on commit f2b3cc7

Please sign in to comment.