Fixed the setting of audio duration.