Skip to content

Commit

Permalink
remove unwanted addition of MODPLUG_GetVolume from commit 9781cbae
Browse files Browse the repository at this point in the history
  • Loading branch information
sezero committed Nov 18, 2019
1 parent b4e0878 commit e13fbd7
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions music_modplug.c
Expand Up @@ -205,13 +205,6 @@ static void MODPLUG_SetVolume(void *context, int volume)
modplug.ModPlug_SetMasterVolume(music->file, (unsigned int)volume * 2); /* 0-512, reduced to 0-256 to prevent clipping */
}

/* Get the volume for a modplug stream */
static int MODPLUG_GetVolume(void *context)
{
MODPLUG_Music *music = (MODPLUG_Music *)context;
return music->volume;
}

/* Start playback of a given modplug stream */
static int MODPLUG_Play(void *context, int play_count)
{
Expand Down

0 comments on commit e13fbd7

Please sign in to comment.