Return the duration of an audio source.