Function Channel.panning

Wraps Mix_SetPanning which sets the panning volume of the left and right channels for the track channel

void panning (
  ubyte[2] newLR
) @property @trusted const;

Parameters

NameDescription
newLR tuple of the volumes from 0 to 255 of the left and right channels in order

Throws

dsdl2.SDLException if failed to set the panning