Do we really want to use a QMap<float, float> here?  Perhaps averageEarDelayMsecs should be rounded to int?  I can't imagine getting many duplicate map entries when using a float as a key.