1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-07-23 10:34:12 -04:00

Set frequency before first capture.

This commit is contained in:
John Greb
2014-12-03 00:13:18 +00:00
parent 6704651786
commit acdc87ccc5
5 changed files with 24 additions and 15 deletions
+1
View File
@@ -120,6 +120,7 @@ V4LThread::OpenSource(const char *filename)
}
set_sample_rate((double)SAMPLERATE);
set_center_freq( centerFreq + (SAMPLERATE / 4) );
// start streaming
type = V4L2_BUF_TYPE_SDR_CAPTURE;
xioctl(fd, VIDIOC_STREAMON, &type);