blob: 3eb283009e5376d70303f1e44c990b088aa6317d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
//
// main.swift
// TestRtlSdr
//
// Created by Jacky Jack on 01/11/2024.
//
import Foundation
import libr820
print("Version \(software_version)")
let count = getDeviceCount()
print("Found \(count) r820 devices")
//rtldev.open(index: 0)
//rtldev.close()
for dev_idx in 0..<count {
let rtldev = R820Tuner()
rtldev.open(index: dev_idx)
rtldev.close()
}
|