diff options
author | Dimitri Stolnikov <horiz0n@gmx.net> | 2013-12-10 16:59:01 +0100 |
---|---|---|
committer | Dimitri Stolnikov <horiz0n@gmx.net> | 2013-12-10 16:59:01 +0100 |
commit | 5410ee53b26f954f9895f84257526e5b0c88e1d4 (patch) | |
tree | 55569411eba635c17dd36e474d94c9fba731909a /lib/file/file_source_c.h | |
parent | 750a0b4549ef4af1af614f8c0bc30ead2440b17e (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 'lib/file/file_source_c.h')
-rw-r--r-- | lib/file/file_source_c.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/file/file_source_c.h b/lib/file/file_source_c.h index 298ecdc..d2d71ca 100644 --- a/lib/file/file_source_c.h +++ b/lib/file/file_source_c.h @@ -45,7 +45,7 @@ public: std::string name(); - static std::vector< std::string > get_devices(); + static std::vector< std::string > get_devices( bool fake = false ); size_t get_num_channels( void ); |