[media] vivid sdr: fix broken sine tone generated for sdr FM
authorPrashant Laddha <prladdha@cisco.com>
Wed, 4 Feb 2015 09:07:32 +0000 (06:07 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 2 Mar 2015 17:53:04 +0000 (14:53 -0300)
commitd585c1e14a84f08a4a714553d9fc459ee697ff95
treedbc16d8257dff37067deb5292934d763f36c17a0
parent4e30a37345e6f723553d457becc423efa4bf2703
[media] vivid sdr: fix broken sine tone generated for sdr FM

FM (frequency modulated) signal for SDR is generated by varying the
phase, where phase variation is proportional to input signal. It is
seen that, the larger phase increments leads to discontinuities in
the signal recovered after demodulation. Reducing the extent of phase
variation with respect to input signal, equivalent to reducing the
modulation index.

Tested using FM receiver flow graph in gnuradio-companion.

Cc: Antti Palosaari <crope@iki.fi>
Signed-off-by: Prashant Laddha <prladdha@cisco.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/vivid/vivid-sdr-cap.c