Skip to content

AudioService.MusicDurationMs Property

Definition

Namespace: Brine2D.Audio

Gets the total duration of the currently loaded music in milliseconds, or -1 if no music is playing or the duration is unknown (e.g. streaming sources).

public double MusicDurationMs { get; }

Implements MusicDurationMs

Property Value

System.Double