All types of cardiomyopathy affect the heart muscle.