The present invention relates to a hearing aid with an adaptive filter for suppression
of acoustic feedback in the hearing aid. The hearing aid further comprises a controller
that is adapted to compensate for acoustic feedback by determination of a first
parameter of an acoustic feedback loop of the hearing aid and adjustment of a second
parameter of the hearing aid in response to the first parameter whereby generation
of undesired sounds is substantially avoided. Hereby a gain safety margin requirement
is significantly reduced.