summaryrefslogtreecommitdiff
path: root/src/doom/s_sound.c
diff options
context:
space:
mode:
authorSimon Howard2015-05-27 21:37:52 -0400
committerSimon Howard2015-05-27 21:37:52 -0400
commit4f8f8a43e174f1e82dc0160c0ea96070e1cf6ef9 (patch)
tree7ba75a0096bc79e88f2dfe135cbd7535e3a0c54e /src/doom/s_sound.c
parent172188c35a1c9f79890e385de688db72fedf8c42 (diff)
downloadchocolate-doom-4f8f8a43e174f1e82dc0160c0ea96070e1cf6ef9.tar.gz
chocolate-doom-4f8f8a43e174f1e82dc0160c0ea96070e1cf6ef9.tar.bz2
chocolate-doom-4f8f8a43e174f1e82dc0160c0ea96070e1cf6ef9.zip
opl: Tweak voice replacement algorithm.
Prefer replacing a second voice before a voice from a higher- numbered channel. This resolves some issues with the MAP01 music, as noted in comments on #468; it may not be Vanilla behavior in terms of code but seems to better match it based on observation, and makes logical sense. Also adjust code to fit to the 80 column limit.
Diffstat (limited to 'src/doom/s_sound.c')
0 files changed, 0 insertions, 0 deletions