aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDimitri Stolnikov <horiz0n@gmx.net>2013-12-10 16:59:01 +0100
committerDimitri Stolnikov <horiz0n@gmx.net>2013-12-10 16:59:01 +0100
commit5410ee53b26f954f9895f84257526e5b0c88e1d4 (patch)
tree55569411eba635c17dd36e474d94c9fba731909a /include
parent750a0b4549ef4af1af614f8c0bc30ead2440b17e (diff)
device: implement "nofake" hint to exclude dummy devices from discovery
usage example: osmosdr::device_t hint( "nofake" ); osmosdr::devices_t devs = osmosdr::device::find( hint );
Diffstat (limited to 'include')
-rw-r--r--include/osmosdr/device.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/osmosdr/device.h b/include/osmosdr/device.h
index b43bef0..60e2718 100644
--- a/include/osmosdr/device.h
+++ b/include/osmosdr/device.h
@@ -101,6 +101,9 @@ namespace osmosdr {
* The device hint should be used to narrow down the search
* to particular transport types and/or transport arguments.
*
+ * The device hint "nofake" switches off dummy devices created
+ * by "file" (and other) implementations.
+ *
* \param hint a partially (or fully) filled in logical device
* \return a vector of logical devices for all radios on the system
*/