diff --git a/Readme.md b/Readme.md index bc738956f..e488093fe 100644 --- a/Readme.md +++ b/Readme.md @@ -77,7 +77,7 @@ Be also aware that the lower rates (2.5 MS/s or 5 MS/s with modified firmware) a

Airspy HF+

-[Airspy HF+](https://airspy.com/airspy-hf-plus/) is supported through [my fork of the airspyhf library](https://github.com/f4exb/airspyhf). This is needed because SDRangel uses integer samples at its input. The original library post processes the integer samples from the device and presents them as float samples without any other option. +[Airspy HF+](https://airspy.com/airspy-hf-plus/) is supported through [the airspyhf library](https://github.com/airspy/airspyhf). If you use your own location for libairspyhf install directory you need to specify library and include locations. Example with `/opt/install/libairspyhf` with the following defines on `cmake` command line: diff --git a/plugins/samplesource/CMakeLists.txt b/plugins/samplesource/CMakeLists.txt index 2a78f32a7..106f7c903 100644 --- a/plugins/samplesource/CMakeLists.txt +++ b/plugins/samplesource/CMakeLists.txt @@ -40,7 +40,6 @@ endif(LIBUSB_FOUND AND LIBAIRSPY_FOUND) find_package(LibAIRSPYHF) if(LIBUSB_FOUND AND LIBAIRSPYHF_FOUND) add_subdirectory(airspyhf) - add_subdirectory(airspyhfi) endif(LIBUSB_FOUND AND LIBAIRSPYHF_FOUND) find_package(LibHACKRF) diff --git a/plugins/samplesource/airspyhf/airspyhfinput.cpp b/plugins/samplesource/airspyhf/airspyhfinput.cpp index 64f832d0b..4c78c4aac 100644 --- a/plugins/samplesource/airspyhf/airspyhfinput.cpp +++ b/plugins/samplesource/airspyhf/airspyhfinput.cpp @@ -135,8 +135,6 @@ bool AirspyHFInput::openDevice() delete[] sampleRates; - airspyhf_set_sample_type(m_dev, AIRSPYHF_SAMPLE_FLOAT32_IQ); - return true; } diff --git a/plugins/samplesource/airspyhf/readme.md b/plugins/samplesource/airspyhf/readme.md index 6af205a0d..2c0d2b181 100644 --- a/plugins/samplesource/airspyhf/readme.md +++ b/plugins/samplesource/airspyhf/readme.md @@ -6,7 +6,7 @@ This input sample source plugin gets its samples from a [Airspy HF+ device](http

Build

-The plugin will be built only if the [Airspy HF library](https://github.com/f4exb/airspyhf) is installed in your system. Please note that you should use my fork as it deals with integer samples. The branch to check out is `intsamples` but this is the default in Github. +The plugin will be built only if the [Airspy HF library](https://github.com/airspy/airspyhf) is installed in your system. If you build it from source and install it in a custom location say: `/opt/install/libairspyhf` you will have to add `-DLIBRTLSDR_INCLUDE_DIR=/opt/install/libairspyhf/include -DLIBRTLSDR_LIBRARIES=/opt/install/libairspyhf/lib/libairspyhf.so` to the cmake command line.