This is a class B amplifier, this means, that a current must flow through the end transistors, even if there is no signal on the input. This current can be regulated with the 500Ω trimmer resistor. As this current incrases, the sound of the amplifier gets better, but the end transistors are more heating. But if this current decrases, the transistors are not heating so much, but the sound gets worse.
you can download the document version here