Fixed volume issue with WAV, and issue with truncated OGGs.

This commit is contained in:
rude
2009-10-26 22:13:02 +01:00
parent 0b6d86e782
commit 0e671c34d5
3 changed files with 6 additions and 9 deletions
@@ -45,6 +45,8 @@ namespace lullaby
// Load the module.
plug = ModPlug_Load(data->getData(), data->getSize());
ModPlug_SetMasterVolume(plug, 512);
if(plug == 0)
throw love::Exception("Could not load file with ModPlug.");
}