1.3.4.1.10 FLAC_GetDuration Function

C

uint32_t FLAC_GetDuration(void);

Summary

Returns track length of the FLAC audio file.

Description

This function returns track length of the FLAC audio file in seconds.

Precondition

FLAC_Initialize function must be called before this function.

Parameters

None.

Returns

track length of the FLAC audio file.

Example

length_in_seconds = FLAC_GetDuration();

Remarks

None