VOGONS


DOSBox ECE (for Windows & Linux)

Topic actions

Reply 1501 of 1503, by Giuliano

User metadata
Rank Newbie
Rank
Newbie

Hi everyone,

I was using DOSBox ECE r4447, and upgraded it today to r4481. I've noticed that the line below was removed from the dosbox-ece.conf file:

gusrate = 44100

I am supposing that it was also removed from the SVN version.

What was the reason behind this removal?

Does it mean that the gusrate value is now fixed at 44100? Or: does it mean that the gusrate value is now equal to the mixer's rate value?

Cheers.

Reply 1502 of 1503, by realnc

User metadata
Rank Oldbie
Rank
Oldbie
Giuliano wrote on 2022-09-17, 14:07:
I was using DOSBox ECE r4447, and upgraded it today to r4481. I've noticed that the line below was removed from the dosbox-ece.c […]
Show full quote

I was using DOSBox ECE r4447, and upgraded it today to r4481. I've noticed that the line below was removed from the dosbox-ece.conf file:

gusrate = 44100

I am supposing that it was also removed from the SVN version.

What was the reason behind this removal?

Does it mean that the gusrate value is now fixed at 44100? Or: does it mean that the gusrate value is now equal to the mixer's rate value?

I believe the GUS uses a rate that depends on the amount of the currently used channels. Apparently, dosbox now emulates this properly and thus there's no "gusrate" option anymore. The rate matches what the real hardware would use, and then it gets resampled to the mixer rate.

Reply 1503 of 1503, by jmarsh

User metadata
Rank Oldbie
Rank
Oldbie

It was removed because performing upsampling in the GUS code (rather than the mixer) blended samples that should have been left out of the output entirely. Typically this caused samples from opposite channels to be blended together, ruining stereo separation.