Skip to content

AD1816 fixes#6630

Merged
OBattler merged 2 commits into
86Box:masterfrom
win2kgamer:ad1816-fixes
Dec 27, 2025
Merged

AD1816 fixes#6630
OBattler merged 2 commits into
86Box:masterfrom
win2kgamer:ad1816-fixes

Conversation

@win2kgamer
Copy link
Copy Markdown
Contributor

Summary

Make the following changes to the AD1816:

  • Don't reset playback_pos (byte counter) when sample count drops below 0, fixes some playback glitches on the Windows 3.1 drivers
  • Right shift the wave and master volume values by 1 to make wave output audible on Windows 3.1 with the default mixer volume values. Also makes the mid-point wave volume setting usable on other drivers.

Checklist

References

Provide links to datasheets or other documentation that helped you implement this pull request.

@OBattler OBattler merged commit 2b53f55 into 86Box:master Dec 27, 2025
43 of 44 checks passed
@win2kgamer win2kgamer deleted the ad1816-fixes branch December 27, 2025 23:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Analog devices AD1816 no sound effects under Windows 3.1

2 participants