1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-01 21:54:55 -04:00

Working kernel driver.

This commit is contained in:
John Greb
2014-11-12 19:54:03 +00:00
parent 80a9d30fc3
commit 333976fa6d
4 changed files with 5 additions and 12 deletions
+1
View File
@@ -119,6 +119,7 @@ V4LThread::OpenSource(const char *filename)
xioctl(fd, VIDIOC_QBUF, &buf);
}
set_sample_rate((double)SAMPLERATE);
// start streaming
type = V4L2_BUF_TYPE_SDR_CAPTURE;
xioctl(fd, VIDIOC_STREAMON, &type);