vp-build/srcpkgs/libmikmod/patches/libmikmod-3.1.12-loopingvolume-fix.diff
Juan RP 33965b51bc Added libmikmod-3.1.12 build template.
--HG--
extra : convert_revision : c0cdc89d245897ebfcc77d7a56f76bc1214b19e6
2009-12-25 22:39:34 +01:00

15 lines
407 B
Diff

Yi-Huang Han - Wed Oct 24 21:55:47 PDT 2001
* Fixed MOD music volume when looping
--- playercode/mplayer.c 2009-10-05 00:19:59.000000000 -0700
+++ playercode/mplayer.c 2009-10-05 00:44:35.000000000 -0700
@@ -3019,7 +3019,7 @@
{
MUTEX_LOCK(vars);
if (pf)
- pf->volume=(volume<0)?0:(volume>128)?128:volume;
+ pf->volume=pf->initvolume=(volume<0)?0:(volume>128)?128:volume;
MUTEX_UNLOCK(vars);
}