Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
09210 Sound Minor Always 2 days ago 1 day ago
Tester hap View Status Public Platform MAME (Official Binary)
Assigned To Resolution Open OS Windows 10/11 (64-bit)
Status [?] Confirmed Driver
Version 0.278 Fixed in Version Build 64-bit
Fixed in Git Commit Github Pull Request #
Summary 09210: Sound: HQ resampler desync with multiple sound chips
Description Sound: HQ resampler desync with multiple sound chips.
The HQ resampler has a latency option. If the emulation has more than 1 sound chip, with different clock freqs, then during mixing stage only the lower clocked one will be resampled. This causes the chips to go out of sync: one is lagged behind the other.
Steps To Reproduce mame ffight
set resampler type to HQ, set latency and filter size to max.

Now listen to the music. You can hear the OKI drums are not synced with the YM2151 .
To exaggerate the symptom, exit MAME, open default.cfg and apply this:
<resampler type="1" hq_latency="0.500000" hq_length="2000" hq_phases="200" />

This is just for verifying the bug. It's not possible to make the settings go this high via the UI.
Additional Information The presumed way to fix it, is to force a delay on the non-resampled sound chip, making the timing synchronized with the resampled one.
Github Commit
Flags
Regression Version 0.278
Affected Sets / Systems
Attached Files
zip file icon ffight_desync_wav.zip (767,497 bytes) 2 days ago Uploaded by hap
Relationships
There are no relationship linked to this issue.
Notes
3
User avatar
No.23482
Augusto
Tester
2 days ago
edited on: 1 day ago
That issue happen much in ffight second stage inside subway and sf2hj Guile stage and using "fast forward" too.
User avatar
No.23486
Robbbert
Moderator
1 day ago
The adjustments made in the Audio Effects menu don't get saved. This needs to be fixed.
User avatar
No.23487
hap
Developer
1 day ago
The resampler configuration is saved in default.cfg (it's not per-game)