Channel.allDistance

Acts as Mix_SetDistance(MIX_CHANNEL_POST, newDistance) which sets the simulated distance for all channels as posteffect

class Channel
static @property @trusted
void
allDistance
()

Parameters

newDistance ubyte

simulated distance from 0 to 255

Throws

dsdl2.SDLException if failed to set the distance

Meta