fixed ambiguous call

changed setFrequency to less ambiguous setSamplingRate