Function Channel.position

Wraps Mix_SetPosition which sets the simulated angle and distance of the channel playing from the listener

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

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