[PATCH 3/5] dsound: Calculate firgain more accurately.