Class D is a pulse-width modulation technology, meaning that the audio signal amplitude information is all contained in the width of the pulses (which is analog, by the way).
The switching frequency is therefore exactly the same issue as it is with PCM digital audio. The frequency only has to be high enough such that it can be filtered out with minimal amplitude and phase errors in the audio band.
But since the information itself is actually analog (e.g. the width of the pulses) as is the input signal, global feedback can easily be applied to correct for amplitude and phase errors, so achieving a clean response is even easier than it is with digital audio.
So the notion that you need Mhz sample rates to achieve high-quality reproduction is pretty ridiculous, let alone Ghz rates.
The switching frequency is therefore exactly the same issue as it is with PCM digital audio. The frequency only has to be high enough such that it can be filtered out with minimal amplitude and phase errors in the audio band.
But since the information itself is actually analog (e.g. the width of the pulses) as is the input signal, global feedback can easily be applied to correct for amplitude and phase errors, so achieving a clean response is even easier than it is with digital audio.
So the notion that you need Mhz sample rates to achieve high-quality reproduction is pretty ridiculous, let alone Ghz rates.