register

Sets the current sink, replacing the previous one.

Parameters

sink

The sink to use from now on.