Digital sample-rate conversion