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

class Channel
static @property @trusted
void
allPosition
(
Tuple!(short, ubyte) newAngleDistance
)

Parameters

newAngleDistance Tuple!(short, ubyte)

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

Throws

dsdl2.SDLException if failed to set the position

Meta