The commitment of cells to specific cardiac muscle cell fates and their capacity to differentiate into cardiac muscle cells. Cardiac muscle cells are striated muscle cells that are responsible for heart contraction.