Documentation

Audio::Voice::GetLength

Method in Voice

double GetLength()

Gets the length of the sample in seconds. Note that on streamed samples, this may be expensive on the first call as it may have to decode the entire stream.

Returns double