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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user