[PD] how to get the actual sample rate?