mirror of
https://github.com/love2d/love.git
synced 2026-08-13 17:10:54 +02:00
Fixed volume issue with WAV, and issue with truncated OGGs.
This commit is contained in:
@@ -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.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user