* Switched to FMOD for html5 (Dan blazed the trail here... surprised it works!)

* Removed most of the mp3 files, but kept blank and 3.mp3 (that's the title menu song)


git-svn-id: svn://rtsoft.com/rtsvn/projects/RTDink@1613 353e56fe-9613-0410-8469-b96ad8e6f29c
This commit is contained in:
seth 2018-05-20 01:56:27 +00:00
parent 880e0ec2f3
commit 63a9cfd094
73 changed files with 8 additions and 10 deletions

View file

@ -102,9 +102,9 @@ GamepadManager * GetGamepadManager() {return &g_gamepadManager;}
//AudioManager g_audioManager; //to disable sound
AudioManagerBBX g_audioManager;
#elif defined PLATFORM_HTML5
#include "Audio/AudioManagerSDL.h"
#include "Audio/AudioManagerFMODStudio.h"
//AudioManager g_audioManager; //to disable sound
AudioManagerSDL g_audioManager;
AudioManagerFMOD g_audioManager;
#elif defined PLATFORM_FLASH
//AudioManager g_audioManager; //to disable sound
@ -581,15 +581,12 @@ bool App::Init()
//preload audio
if (GetEmulatedPlatformID() == PLATFORM_ID_IOS)
if (GetEmulatedPlatformID() == PLATFORM_ID_IOS || GetEmulatedPlatformID() == PLATFORM_ID_HTML5 )
{
//use our own DLS, as iPhone/iPad don't have any midi system
g_audioManager.SetDLS("dink/midi/TimGM6mbTiny.dls");
}
#ifdef _DEBUG
#endif
#ifdef _WIN32
//temporary while I make movies