Channel.position

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

class Channel
const @property @trusted
void
position
(
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