There are two factors that determine the quality of digital sound:
Sample Rate determines frequency response.
Resolution determines dynamic range and the amount of added noise.