summaryrefslogtreecommitdiff
path: root/Radio/Utils/TestRtlSdr/main.swift
blob: 7b10d05a77c59ac8dbfade386a74e5c8ced01898 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//
//  main.swift
//  TestRtlSdr
//
//  Created by Jacky Jack on 01/11/2024.
//

import Foundation
import libr820

let rtldev = R820Tuner()
let count = rtldev.getDeviceCount()
rtldev.open(index: 0)
rtldev.close()