Dilated cardiomyopathy is the most common type of cardiomyopathy. It affects the ventricles and atria.