Welcome, @Y.Vosko, to the community!
The TDA7376B does indeed contain the THD Detection function, which includes the DD OUT and THD SET pins. The datasheet says:
The TDA7376B is equipped with a programmable clipping distortion detector circuitry that allows to signal out the output stage saturation by providing a current sinking into an open collector output (DD OUT) when the total harmonic distortion of the output signal reaches the preset level.
It further mentions that the voltage at THD SET should be proportional to the supply voltage, which is realised e.g. with the voltage divider in Fig. 3, 4 or 5.
The quoted paragraph states that the function only detects when the THD limit is exceeded and then activates an open collector at the DD OUT output so that an external circuitry can do the intended reaction (limiting the volume, stronger compression or similar).
Does it answer your question?
Regards
/Peter
In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.