/RTKFM_API

API for Realtek RTKFM.dll library (FM radio for RTL2832U sticks)

Primary LanguageC++GNU General Public License v3.0GPL-3.0

RTKFM_API

This is the C API that uses RTKFM.dll functions to perform FM radio reception and demodulation in software. RTKFM.dll is copyright Realtek and is part of driver packages for RTL2832U based sticks. RTKFM is capable of stereo audio output and RDS decoding, with low CPU usage.

Having only the DLL I generated the MinGW linker file libRTKFM.a using dlltool. See more at http://www.mingw.org/wiki/createimportlibraries .You can also generate .lib file for MSVC compilers using the right tools.

dlltool -z RTKFM.def --export-all-symbol RTKFM.dll
dlltool -d RTKFM.def -l libRTKFM.a

Guessing the right usage and parameters of most functions was not an easy task. I used the following references:

To use it, include RTKFM.h in your project and link against libRTKFM.a.