AUDIO: Fix CMS chips incorrect pitch. #825

Merged
merged 1 commit into from Sep 11, 2016

Projects

None yet

2 participants

@jepael
Contributor
jepael commented Sep 7, 2016

The CMS emulation assumes the chips run at 8 MHz clock,
but in PCs they run at 7.15909 MHz, so the emulated pitch
is too high. Adjusting the requested sampling rate higher
by matching amount the pitch is lowered down to normal.

@jepael jepael AUDIO: Fix CMS chips incorrect pitch.
The CMS emulation assumes the chips run at 8 MHz clock,
but in PCs they run at 7.15909 MHz, so the emulated pitch
is too high. Adjusting the requested sampling rate higher
by matching amount the pitch is lowered down to normal.
5cc2696
@sev-
Member
sev- commented Sep 11, 2016

Thanks, merging.

@sev- sev- merged commit 557680b into scummvm:master Sep 11, 2016

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment