SpeechTilesAndamento Docs
Get started
SDK Reference · Method

releaseAudioPlayer

Releases the initialized audio-player component.

Declaration

public func releaseAudioPlayer() -> STResult

Overview

Use this method when the application no longer needs the audio-player component.

The component is removed from STMediaRunner only when the underlying release succeeds. If release fails, the existing component remains available rather than being discarded.

Return value

Returns .audioPlayerNotInitialized when no audio player has been initialized. Otherwise returns the result of the player release operation.

See Also