Steve Markgraf
5a26bd51e7
add initial support for the R820T tuner
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
12 years ago
Dimitri Stolnikov
88cd4b33cf
return RTLSDR_TUNER_UNKNOWN (0) on failure of rtlsdr_get_tuner_type
12 years ago
Steve Markgraf
4e2a0ea0c4
tuner_e4k: update license in header
...
Changing the license of the header as well,
which had been forgotten in commit
6aec27c6d0
- "tuner_e4k: relicense driver under GPLv2+"
Signed-off-by: Steve Markgraf <steve@steve-m.de>
12 years ago
Dimitri Stolnikov
f9b5d7b0a6
apply frequency correction value on the xtal clock directly
...
by using this approach both, the tuning frequency and the sample rate
should be corrected at the same time.
13 years ago
Steve Markgraf
f3cf83e3d7
disable DAGC by default, add control function
...
This adds rtlsdr_set_agc_mode() to enable/disable it.
Thanks to Leif Asbrink for finding this setting.
Signed-off-by: Steve Markgraf <steve@steve-m.de>
13 years ago
Dimitri Stolnikov
6ea029d92c
add api function to control the IF gain for E4000 tuners
13 years ago
Dimitri Stolnikov
7bd3933c41
introduce getters for tuner parameters (gain, type)
13 years ago
Steve Markgraf
4031d6ed04
tuner_fc0012: use new cleaned-up driver
...
The driver was taken from http://git.linuxtv.org/ and adapted
for librtlsdr. Manual gain will be added in a follow-up commit.
Signed-off-by: Steve Markgraf <steve@steve-m.de>
13 years ago
Steve Markgraf
75548c8bf3
tuner_fc0013: improve tuning resolution
...
We now use Hz instead of kHz for the internal
calculations, and thus improve the tuning resolution
to ~50 Hz (tested with DAB).
Signed-off-by: Steve Markgraf <steve@steve-m.de>
13 years ago
Steve Markgraf
6d34b04b42
tuner_fc0013: use new cleaned-up driver
...
The driver was taken from http://git.linuxtv.org/ and adapted
for librtlsdr. Also, fc0013_set_gain() was added.
Signed-off-by: Steve Markgraf <steve@steve-m.de>
13 years ago
Dimitri Stolnikov
505f40d9a0
introduce api function to read usb string descriptors
...
This API allows to read manufacturer and product names as well as the
serial number advertized by the device on the bus.
13 years ago
Steve Markgraf
fdc7bc978b
add an initial version of rtl_test
...
This tool allows to check for lost samples (and thus check the USB
connection), as well as benchmark the Elonics E4000 tunable range.
(-t switch)
Signed-off-by: Steve Markgraf <steve@steve-m.de>
13 years ago
Steve Markgraf
2ed8375f39
tuner_e4k: allow frequencies above INT_MAX
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
13 years ago
Dimitri Stolnikov
9167a01248
consolidate program arguments
13 years ago
Dimitri Stolnikov
e9251da6e2
reset internally cached gain/freq values on setter failure
13 years ago
Dimitri Stolnikov
259e61fb17
document gain api
13 years ago
Steve Markgraf
86c34428aa
use new E4000 tuner driver, allow manual gain
...
Many thanks to Hoernchen for making the driver work properly
and adding manual gain!
Signed-off-by: Steve Markgraf <steve@steve-m.de>
13 years ago
Dimitri Stolnikov
bad6fb080b
introduce api to configure crystal oscillator frequency
...
Usually both, the RTL and the tuner ICs use the same clock. Changing the
clock may make sense if you are applying an external clock to the tuner
or to compensate the frequency (and samplerate) error caused by the
original cheap crystal.
This commit covers all tuner drivers except of the Fitipower FC2580
13 years ago
Dimitri Stolnikov
5f70efd8d1
return frequency and sample rate as unsigned integers
13 years ago
Dimitri Stolnikov
e4fef23874
rtlsdr_read_async: buffer length must be multiple of 512
13 years ago
Dimitri Stolnikov
1eb1c3e191
new api: rtlsdr_read_async function allows to specify buffer size
...
this commit deprecates rtlsdr_wait_async function
various small fixes are included in this commit
13 years ago
Steve Markgraf
cdd6c488a3
rtlsdr_callback: use correct pointer type for buffer
...
Silences a clang warning.
Signed-off-by: Steve Markgraf <steve@steve-m.de>
13 years ago
Dimitri Stolnikov
f13cf0e56c
adjust project slogan
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
13 years ago
Dimitri Stolnikov
b38414c15a
add copyright notices
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
13 years ago
Dimitri Stolnikov
01775f0e85
use unique libusb context per rtl
...
device
this commit breaks rtlsdr_open()
interface
13 years ago
Dimitri Stolnikov
39482fee74
introduce asynchronous streaming interface
...
this is an experimental feature
13 years ago
Dimitri Stolnikov
030c787cfa
cmake & autotools fixes from previous commit
13 years ago
Hoernchen
229ebd2ff2
add win32 compatibility
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
13 years ago
Dimitri Stolnikov
4c3a5f7397
consolidated function defs and impls
13 years ago
Dimitri Stolnikov
e22c8a8378
fix type definition in library
...
interface
sorry mom! :P
13 years ago
Steve Markgraf
b5e4b76885
add FCI FC2580 tuner support
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
13 years ago
Dimitri Stolnikov
6322c9343d
add preliminary cmake build system
13 years ago
Dimitri Stolnikov
9d15dc565a
handle init/exit functions calling
...
automatically inside the library
13 years ago
Dimitri Stolnikov
46acfaebd2
rework on autotools handling of
...
private headers
13 years ago
Steve Markgraf
367113b5c8
add FC0012 driver
...
Thanks to David Badsen!
Signed-off-by: Steve Markgraf <steve@steve-m.de>
13 years ago
Dimitri Stolnikov
4ad93906a4
add skeleton routines for setting tuner gain
13 years ago
Steve Markgraf
ff79104824
add support for autoprobing the tuners
...
Signed-off-by: Steve Markgraf <steve@steve-m.de>
13 years ago
Dimitri Stolnikov
001bfb96ef
add autotools based build system
13 years ago