hello
i found a small bug or strange behavior with latest dosbox-x (20230401005056)
when i play mod sound files with libopenmpt (i use dosbox-x with default settings, fullscreen, aspect ratio and cycles = max)
the music does not play smoothly but has slowdowns at irregular intervals
i have to set a fixed cycle like 100.000 or 200.000 depending how many channels the mod files have.
and playback is fine
i know setting cycles too high for host machine will
generate sound problems
but cycles = max should work fine
with older dosbox-x versions i have no problems using cycles = max with libopenmpt
edit: when i set cycles=max and enable "show fps and rt speed in title bar"
and use libopenmpt the cycles fluctuate from 50.000 to 250.000 all the time
most of the time they stay above 200.000 and everything is ok
but when they go below 80.000 the music slowsdown
seems cycles=max is dropping the cycles to far down
when i use dosbox-x 20221226190454
and set cycles=max
the cycles with libopenmpt fluctuate only from 140.000 to 145.000
and remain more or less constant
with dosbox-x 20230401005056
cycles=max and impulse tracker 2.15
cycles shown are about 37.000 - 40.000
playback is fine
with dosbox-x 20230401005056
cycles=max and open cubic player 2.6
cycles shown are about 495.000 - 505.000 (seems very high...)
but playback is fine
seems only libopenmpt has problems with cycle=max and latest dosbox-x
edit2:
I've found another problem that is independent of the above one 😀
the sb oplrate and gus rate is set to 44100 but the mixer is set to 48000 per default.
when oplrate is != mixer rate you get sound cracks for e.g. in privateer 2
everytime when game switches from video to in game and back.
i would therefore suggest setting the mixer to 44100 by default.