DhrBaksteen / ArduinoOPL2

Arduino library for use with the OPL2 board (YM3812) and OPL3Duo (YMF262)
MIT License
195 stars 39 forks source link

Clamping function #77

Closed DhrBaksteen closed 3 years ago

DhrBaksteen commented 3 years ago

This replaces the min and max macros with a new function clampValue to fix #73.

Tested with