OSDN Git Service

チケット #35726 「サンプル・オシレーターの周波数誤差」
[trx-305dsp/dsp.git] / hirado / demodulator.c
index e20afeb..00ecf92 100644 (file)
@@ -77,7 +77,7 @@ void radio_demodulate_non_wide_FM( int idata, int qdata, short* left, short* rig
             float f;
             static short phase = 0;
 
-            f = sinf( 2 * 3.14 * phase / 32768 ) * 32767 * 0.999;
+            f = sinf( 2 * 3.14 * phase / 31738 ) * 32767 * 0.999;
             phase += 880 ;
 
             * right = *left = f;