TMRpcm interferes with Wire.h

I’m using TMRpcm library for playing .wav files from my SD card. Everything works fine, but if I include Wire.h library the files aren’t playing at all (there’s no sound). I have only added this line of code above my program:

#include <Wire.h>

I suppose that this is because of the timer and interruption because TMRpcm documentation mentions that:

May interfere with other libraries that rely on interrupts. The isPlaying() disable() or noInterrupts() functions can be used to prevent parallel code execution.

I’ve tried to use those functions but maybe I do something wrong. Can somebody help me? How can I use those libraries at once?

I've tried to use those functions but maybe I do something wrong.

There is no maybe about it. You have some code that you added some code to, and didn't post the before or after code. Fix that, if you are here for help.

Thank you for your reply!

Here's my before:

tmrpcm.play("neMode.wav");
delay(2000);

and after:

noInterrupts();
tmrpcm.play("neMode.wav");
delay(2000);
interrupts();

It doesn't change anything. I hear no sound at all.

I hear no sound at all.

I'm not surprised.

I'd be astonished if the TMRpcm class did not use interrupts.