OSDN Git Service
(root)
/
trx-305dsp
/
dsp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a32fa90
)
チケット #35726 「サンプル・オシレーターの周波数誤差」
author
suikan
<suikan@users.sourceforge.jp>
Sun, 13 Dec 2015 07:16:27 +0000
(16:16 +0900)
committer
suikan
<suikan@users.sourceforge.jp>
Sun, 13 Dec 2015 07:16:27 +0000
(16:16 +0900)
問題修正。
hirado/demodulator.c
patch
|
blob
|
history
diff --git
a/hirado/demodulator.c
b/hirado/demodulator.c
index
e20afeb
..
00ecf92
100644
(file)
--- a/
hirado/demodulator.c
+++ b/
hirado/demodulator.c
@@
-77,7
+77,7
@@
void radio_demodulate_non_wide_FM( int idata, int qdata, short* left, short* rig
float f;
static short phase = 0;
float f;
static short phase = 0;
- f = sinf( 2 * 3.14 * phase / 3
276
8 ) * 32767 * 0.999;
+ f = sinf( 2 * 3.14 * phase / 3
173
8 ) * 32767 * 0.999;
phase += 880 ;
* right = *left = f;
phase += 880 ;
* right = *left = f;