I'm looking for an c function to approximately determine a signal frequency. I have Codecs that transfer a sinusoidal signal from the analogue world to a PCM hiway. From there it can be stored in RAM. However, I need a basic algorithm or function that will approximately calculate the frequency when in digital format.
Thanks in advance,