pause

fun pause()(source)

Stops calling the renderer and plays silence until resume. Does nothing when already paused.

Throws

if the device is closed.

if SDL cannot pause the device.