Tue, 19 Nov 2019 18:55:40 +0300native_midi_common.c: change include path of SDL_mixer.h
Ozkan Sezer [Tue, 19 Nov 2019 18:55:40 +0300] rev 1000
native_midi_common.c: change include path of SDL_mixer.h

needed after source tree layout changes. tested by cross
compiling to windows under linux using autotools.

Tue, 19 Nov 2019 12:36:40 +0300Reorganize files tree
Vitaly Novichkov [Tue, 19 Nov 2019 12:36:40 +0300] rev 999
Reorganize files tree
- Make the "src" directory for source files and private headers
- Make an "include" directory for the public header
- Make Autotools, Android CMake, and Android Make builds work with the new tree

TODO: VisualC, VisualC-WinRT, Xcode and Xcode-iOS needs an update: NOW THEY ARE BROKEN

Mon, 18 Nov 2019 18:50:50 +0300load_voc.c: invent and use new VOC_BAD_RATE macro instead of casts.
Ozkan Sezer [Mon, 18 Nov 2019 18:50:50 +0300] rev 998
load_voc.c: invent and use new VOC_BAD_RATE macro instead of casts.

Mon, 18 Nov 2019 17:56:50 +0300music_ogg.c: OGG_music->channels was never initialized.
Ozkan Sezer [Mon, 18 Nov 2019 17:56:50 +0300] rev 997
music_ogg.c: OGG_music->channels was never initialized.

remove, and use OGG_music->vi.channels instead.
Reported by Vitaly Novichkov.

Mon, 18 Nov 2019 17:56:29 +0300music_mikmod.c: check type limits when setting md_mixfreq :
Ozkan Sezer [Mon, 18 Nov 2019 17:56:29 +0300] rev 996
music_mikmod.c: check type limits when setting md_mixfreq :

md_mixfreq is UWORD, so it can hold up to 0xffff. therefore,
if spec->frec is greater than that, set md_mixfreq to 44100:
SDL_AudioStream should handle conversion.

Mon, 18 Nov 2019 17:10:20 +0300music_modplug.c (MODPLUG_SetVolume): reduce volume from 0-512 to 0-256
Ozkan Sezer [Mon, 18 Nov 2019 17:10:20 +0300] rev 995
music_modplug.c (MODPLUG_SetVolume): reduce volume from 0-512 to 0-256

prevents clipping. from a patch by Vitaly Novichkov.

Mon, 18 Nov 2019 17:04:10 +0300music_modplug.c (MODPLUG_SetVolume): revert behavior change from commit 9781cbae
Ozkan Sezer [Mon, 18 Nov 2019 17:04:10 +0300] rev 994
music_modplug.c (MODPLUG_SetVolume): revert behavior change from commit 9781cbae

will apply it in next commit, so that it shows up in logs.

Mon, 18 Nov 2019 17:01:02 +0300some more cleanups after commit 9781cbae
Ozkan Sezer [Mon, 18 Nov 2019 17:01:02 +0300] rev 993
some more cleanups after commit 9781cbae

Mon, 18 Nov 2019 14:15:15 +0300made safe strtok implementation static to music.c for now.
Ozkan Sezer [Mon, 18 Nov 2019 14:15:15 +0300] rev 992
made safe strtok implementation static to music.c for now.

Mon, 18 Nov 2019 14:10:10 +0300removed MIX_UNUSED macro and replaced its uses with plain (void)x.
Ozkan Sezer [Mon, 18 Nov 2019 14:10:10 +0300] rev 991
removed MIX_UNUSED macro and replaced its uses with plain (void)x.