The head unit does affect sound quality, and purchasing a better aftermarket head unit can improve sound quality if the speakers are not damaged.