Echo
Echo copied to clipboard
Per-channel linear volume set
SetVolume sets all channels linearly (0-255), but SetVolumeEx requires the format for each channel type.
It's rare that game code would care for each channel's individual formats, a SetVolumeLinear or something would make life easier.
Maybe I really should just expose the look-up tables ._.
Well, I'm not sure what's being asked here.
Personally, I use different volume settings at many different times for many kinds of precise instrumentation effects per any given channel at any given moment.
It's in reference to this command https://github.com/sikthehedgehog/Echo/blob/master/doc/api-asm.68k#L129
OK took the internal tables used by Echo_SetVolume
and made them global instead. Should help with it. Still not sure about whether make a dedicated subroutine that does it for you anyway or what.