Function Channel.allDistance

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

static void allDistance (
  ubyte newDistance
) @property @trusted;

Parameters

NameDescription
newDistance simulated distance from 0 to 255

Throws

dsdl2.SDLException if failed to set the distance