#define BASS_CONFIG_MP3_ERRORS 35
Even if I disable the errors, always breaks or skips in the sound output.
Is that with 2.4.6 or 2.4.7? The config option was added between releases (here
), so isn't present in the 2.4.6 release. Anyway, it turns out the MP3 decoder had a small fault with 24000 Hz files, so it's just as well the error detection brought it to light! An update (220.127.116.11) to fix that problem is now up in the BASS package.
If you are still getting breaks in the sound, then I think that must be caused by something else, especially if it's affecting non-MP3. What buffer size (BASS_CONFIG_BUFFER) are you using, and does increasing that help? In the case of MIDI, perhaps the breaks are caused by sample loading; you could try using BASS_MIDI_StreamLoadSamples before starting playback.
That file sounds fine here. Are you having the problem when playing the file alone, or are you playing other streams at the same time? If the latter, delays in them (eg. MIDI sample loading) can affect the MP3 stream too. To avoid that, you could use multiple update threads (see BASS_CONFIG_UPDATETHREADS).