Skip to content

Commit

Permalink
Ben Nason - Mon, 10 Feb 2003 11:50:27 -0800
Browse files Browse the repository at this point in the history
 * Fixed volume control on MOD music chunk
  • Loading branch information
slouken committed Feb 12, 2003
1 parent 3360612 commit b9bea5f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGES
@@ -1,4 +1,6 @@
1.2.5:
Ben Nason - Mon, 10 Feb 2003 11:50:27 -0800
* Fixed volume control on MOD music chunks
Patrice Mandin - Fri, 31 Jan 2003 15:17:30 +0100
* Added support for the Atari platform
Ryan C. Gordon - Fri Dec 27 10:14:07 EST 2002
Expand Down
2 changes: 2 additions & 0 deletions mikmod/mplayer.c
Expand Up @@ -1939,6 +1939,8 @@ void pt_UpdateVoices(int max_volume)
tmpvol*=envvol; /* * max 256 */
tmpvol*=pf->volume; /* * max 128 */
tmpvol/=4194304UL;
tmpvol*=pf->initvolume; /* * max 128 */
tmpvol/=128;

/* fade out */
if (pf->sngpos>=pf->numpos) tmpvol=0;
Expand Down

0 comments on commit b9bea5f

Please sign in to comment.