A class-D amplifier includes a switching transistor section, a filter, an
analog to digital converter, and a feedback module. The switching
transistor section is operably coupled to convert a serial input into a
switched output signal. The filter is operably coupled to filter the
switched output signal to produce an output of the class-D amplifier. The
analog to digital converter is operably coupled to convert an analog
input into a multi-bit digital signal based on a feedback signal, wherein
the serial input corresponds to the multi-bit digital signal. The
feedback module is operably coupled to the produce the feedback signal
based on at least one varying property of the switching transistor
section.