Fixing a BGM looping bug

I'm trying to add custom music to a VX Ace game, but I must be doing something wrong. When I put the song into the game, when it loops back to the beginning, there's this weird pause/catch in the music. This only happens within RPG Maker, there isn't a pause when I play it elsewhere and the loop was seamless in my editing program.


Anyone know what could be the problem?
I bet it's an mp3 file, which is known for having gaps when it loops.  Change it to .ogg and your problem should be solved.
Yes, it seems it was that simple. Thanks for letting me know.

Original thread: https://forums.rpgmakerweb.com/threads/fixing-a-bgm-looping-bug.59353/