Looping OGG file lags in-game

I'd like to know how to fix the problem! I've created an OGG vorbis file that loops perfectly, and when I play it with external players like jetAudio it loops seamlessly! But when I import it to RMMV all of a sudden at the very end it lags for a second and the restarts, making a horrible "loop" with obvious seam! What should I do? How can this be fixed?
Try Sum Random Dude's preloader core.

http://sumrndm.site/preloader-core/

From my understanding, it preloads assets you deem vital into the computers ram. They should be accessed much quicker. Be sure to give music high priority in the plugin parameters.
Didn't help, sadly. Not to mention that it requires GameUpgrade plugin that messes up YanFly's Core Engine...
I don't know, honestly.
Here's the track. Download it maybe and check for yourself? Maybe I'm doing something wrong...
https://puu.sh/wSJZ3/c2831d6912.ogg
f740f7a146.png
Didn't help, sadly. Not to mention that it requires GameUpgrade plugin that messes up YanFly's Core Engine...
I don't know, honestly.
Here's the track. Download it maybe and check for yourself? Maybe I'm doing something wrong...
https://puu.sh/wSJZ3/c2831d6912.ogg
f740f7a146.png
Yes, I will take a look when I'm up tomorrow. My current project has both window upgrade and Yanfly Core engine, and about a million other plugins. I had to place window upgrade above Yanfly core to get it to work. The positioning of the plugins is important. If that still doesn't work I know Hime made something for looping.

http://mvplugins.com/plugin/HimeWorks/HimeWorks - Easy Audio Looping

And here is another plugin that is just for audio lag. I had some weird problems with it though.

https://forums.rpgmakerweb.com/index.php?threads/audio-lag-fix.73031/

Good luck and night night.
And here is another plugin that is just for audio lag. I had some weird problems with it though.

https://forums.rpgmakerweb.com/index.php?threads/audio-lag-fix.73031/
This one helped a bit. There is still some noticable lag, but not as drastic as it was before!
I looked at the music. I don't see any problems. I'm betting its RPG Maker that is causing the lag and not an issue with the file. Anything past what I've already mentioned is beyond me. I'm sure I will run into this problem too when I start looping audio for my game. Audio plugins are much less common than others. It's something that could be delved into much deeper than it currently is I think.

Anybody know any other possible solutions?
Well, I suppose there aren't any other fixes to this. Oh well.
I'd like to point out that the plugin above I said is very helpful is *actually* really helpful, so you can use it for the lag fix. It's not immediate, you might still notice some lag on the first or second loop, but after that it's absolutely gone. The downside is that Music Effects stop working for whatever reason. Who knows how to fix it?

Original thread: https://forums.rpgmakerweb.com/threads/looping-ogg-file-lags-in-game.81751/