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
Name | Description |
---|---|
newAngleDistance | tuple of the simulated angle (in degrees clockwise, with 0 being the front) and distance |
Throws
dsdl2
if failed to set the position