Improved Audio Codec detection