private int xpa2Freq (CircularDataBuffer circBuf,WaveData waveData,int pos)	{
			if (waveData.getSampleRate()==8000.0)	{
				int freq=symbolFreq(circBuf,waveData,pos,samplesPerSymbol);
				if (theApp.isInvertSignal()==false) freq=freq+correctionFactor;
				else freq=PIVOT-freq+correctionFactor;
				return freq;
			}
			else if (waveData.getSampleRate()==11025.0)	{
				int freq=symbolFreq(circBuf,waveData,pos,samplesPerSymbol);
				if (theApp.isInvertSignal()==false) freq=freq+correctionFactor;
				else freq=PIVOT-freq+correctionFactor;
				return freq;
			}
			return -1;
		}