Properly detect new audio file duration