So I ran a few tests. It seems that the problem occurs only when using Pulse (which is what Tilem will auto-select on my system).
When using Pulse, audio will be wrong regardless of latency/sr settings (even if latency is set to a very high level). As mentioned before, the pitch changes when changing those settings.
audiodev-sdl: Initialized "pulse" driver
audiodev-sdl: buffer size = 2048, latency = 0,064
x2: audio: Starting playback:
x2: audio: rate = 48000
x2: audio: channels = 2
x2: audio: format = 16-bit, signed, little-endian
x2: audio: buffer size = 4096
Note the mismatch in buffer size, dunno if it's supposed to be like that.
Another interesting thing is that Tilem automatically adjusts the latency setting - the above was run with latency=60, Tilem switches to 64. Well, I don't mind that, as it doesn't seem to cause any problems. This happens with all drivers.
So now the good news: If I switch to Alsa, everything will work as intended, regardless of latency/sr settings.
audiodev-sdl: Initialized "alsa" driver
audiodev-sdl: buffer size = 8192, latency = 0,0929
x2: audio: Starting playback:
x2: audio: rate = 44100
x2: audio: channels = 2
x2: audio: format = 16-bit, signed, little-endian
x2: audio: buffer size = 8192
Initial latency setting for the above was 96, switched to 93 by Tilem. I can go significantly lower without any problems though.
Btw my setup is: Debian Testing on Solo-Core T60, 2 GB RAM, 1,6 GHz, standard Intel onboard sound.
Hope that helps