release

open fun release()

Stops playback and frees the session's resources (background coroutines, device handles). The session must not be used afterwards.

Defaults to stop for implementations that hold nothing beyond it.