Function Channel.allPosition

Acts as Mix_SetPosition(MIX_CHANNEL_POST, newAngleDistance[0], newAngleDistance[1]) which sets the simulated angle and distance for all channels as posteffect

static void allPosition (
  std.typecons.Tuple!(short,ubyte) newAngleDistance
) @property @trusted;

Parameters

NameDescription
newAngleDistance tuple of the simulated angle (in degrees clockwise, with 0 being the front) and distance

Throws

dsdl2.SDLException if failed to set the position