What functions are used to estimate the duration and bit rate of a file? I'd like to add support for these features for the DTS format, and would rather not dig around the source looking for it. thanks in advance.