A hearing device, e.g. a
hearing aid, comprises a) a forward path comprising al) an input
transducer for providing an electric input
signal representing sound in the environment of the hearing device, the input
transducer providing an input
gain Gi, a2) a
signal processor for
processing said electric input
signal or a signal based thereon and providing a processed signal, the signal processor comprising a compressor for determining a frequency and level dependent desired compressor
gain GP to compensate for a hearing impairment of the user, and to provide a resulting compressor
gain G'P, a3) an output
transducer for providing output stimuli perceivable as sound for the user based on said processed signal, the output transducer providing an output gain, Go. A resulting forward
path gain G' is defined in a logarithmic representation as GI+G'P+GO. The hearing device further comprises b1) a
loop gain estimator for continuously estimating a
current loop gain ΔL(n), configured to provide a
loop gain estimate within a predefined number of
feedback loop delays after a feedback buildup has started, wherein the
loop gain estimate is calculated as the current level of a signal of the forward path at
time index n minus the level of the same signal one
feedback loop earlier, and b2) a loop gain controller for dynamically controlling said resulting forward
path gain G' in dependence of said estimate of said
current loop gain ΔL(n). The
feedback loop is represented by the electric forward path of the hearing device from the input transducer to the output transducer and an acoustic feedback path from the output transducer to the input transducer, the feedback path exhibiting a feedback gain H. A resulting loop gain, LG', is determined as a sum of the resulting forward
path gain G' and the feedback gain H when given in a logarithmic representation. The loop gain controller is configured to provide that the resulting loop gain is limited to stay below a predefined value. A method of operating a hearing device is further disclosed.