You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When compiling QMPlay2 with -flto flag (I really recommend using it when building the release builds), a warning is found:
/home/arthur/dev/QMPlay2/src/modules/Modplug/libmodplug/snd_dsp.cpp:102:12: warning: type of 'MixSoundBuffer' does not match original declaration
extern int MixSoundBuffer[MIXBUFFERSIZE*2];
^
/home/arthur/dev/QMPlay2/src/modules/Modplug/libmodplug/fastmix.cpp:17:5: note: previously declared here
int MixSoundBuffer[MIXBUFFERSIZE*4];
^
I guess this snippet explains the problem - mismatch in size of array. I guess the best solution would be change the size to MIXBUFFERSIZE*4 in snd_dsp.cpp:102, but because I don't know what happens in libmodplug I think this is better for you to review it.
The text was updated successfully, but these errors were encountered:
When compiling QMPlay2 with
-flto
flag (I really recommend using it when building the release builds), a warning is found:I guess this snippet explains the problem - mismatch in size of array. I guess the best solution would be change the size to
MIXBUFFERSIZE*4
insnd_dsp.cpp:102
, but because I don't know what happens in libmodplug I think this is better for you to review it.The text was updated successfully, but these errors were encountered: