forked from rosebudai/OpenRCT2-Web
Remove unused semicolons after end of function
[ci skip]
This commit is contained in:
1 parent
a934590826
commit
44e9129af5
2 files changed
+4
-4
No files matched your search
+3
-3
@@ -210,9 +210,9 @@ void Mixer_Channel_SetGroup(void* channel, int group);
|
||||
void* Mixer_Play_Music(int pathId, int loop, int streaming);
|
||||
void Mixer_SetVolume(float volume);
|
||||
|
||||
static int DStoMixerVolume(int volume) { return (int)(SDL_MIX_MAXVOLUME * (SDL_pow(10, (float)volume / 2000))); };
|
||||
static float DStoMixerPan(int pan) { return (((float)pan + -DSBPAN_LEFT) / DSBPAN_RIGHT) / 2; };
|
||||
static double DStoMixerRate(int frequency) { return (double)frequency / 22050; };
|
||||
static int DStoMixerVolume(int volume) { return (int)(SDL_MIX_MAXVOLUME * (SDL_pow(10, (float)volume / 2000))); }
|
||||
static float DStoMixerPan(int pan) { return (((float)pan + -DSBPAN_LEFT) / DSBPAN_RIGHT) / 2; }
|
||||
static double DStoMixerRate(int frequency) { return (double)frequency / 22050; }
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
+1
-1
@@ -54,7 +54,7 @@ namespace Guard
|
||||
Assert(argument >= min && argument <= max, message, args);
|
||||
va_end(args);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
#define GUARD_LINE "Location: %s:%d", __func__, __LINE__
|
||||
|
||||
|
||||
Reference in new issue
Block a user