The OpenD Programming Language

MP3Decoder.duration

Returns the duration of the mp3, in seconds, if available, or float.nan if it is unknown (unknown may happen because it is an unseekable stream without metadata).

class MP3Decoder
@property const pure nothrow @trusted @nogc
float
duration
()

Meta

History

Added November 26, 2022 (dub v10.10)