Click or drag to resize

AudioControllerStop Method (String, Single)

Stops all playing audio items with name audioID with a fade-out.

Namespace:  (Default Namespace)
Assembly:  AudioToolkit (in AudioToolkit.dll) Version: 8.2.0.0 (8.2.0.0)
Syntax
C#
public static bool Stop(
	string audioID,
	float fadeOutLength
)

Parameters

audioID
Type: SystemString
The audio ID.
fadeOutLength
Type: SystemSingle
The fade out time. If a negative value is specified, the subitem's FadeOut value is taken.

Return Value

Type: Boolean
Return true if any audio was stopped.
See Also