summaryrefslogtreecommitdiffstats
path: root/binding/rtl_fm.h
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2017-08-17 15:21:48 -0700
committerMatt Ranostay <matt.ranostay@konsulko.com>2017-08-17 20:51:04 -0700
commitc46a56ac144e7399f2172e56a7a22d46d580c830 (patch)
tree4122472de77d49eb47497e9641b445cea528e29c /binding/rtl_fm.h
parent9aebdfa77d57426fdaaab123d7c91c32a20e87be (diff)
Spliting out of the radio binding into it's own repo and service. This removes the binding from the radio application build. Change-Id: If62c61e4ad0054b55eee5f0bb46a33bc0677f4b8 Bug-AGL: SPEC-834 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'binding/rtl_fm.h')
-rw-r--r--binding/rtl_fm.h70
1 files changed, 0 insertions, 70 deletions
diff --git a/binding/rtl_fm.h b/binding/rtl_fm.h
deleted file mode 100644
index f5b2a86..0000000
--- a/binding/rtl_fm.h
+++ /dev/null
@@ -1,70 +0,0 @@
-/*
- * rtl-sdr, turns your Realtek RTL2832 based DVB dongle into a SDR receiver
- * Copyright (C) 2016, 2017 Konsulko Group
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#ifndef RTL_FM_H
-#define RTL_FM_H
-
-#include <stdint.h>
-
-#define RTL_FM_DEFAULT_BUF_LENGTH (1 * 16384)
-#define RTL_FM_MAXIMUM_OVERSAMPLE 16
-#define RTL_FM_MAXIMUM_BUF_LENGTH (RTL_FM_MAXIMUM_OVERSAMPLE * RTL_FM_DEFAULT_BUF_LENGTH)
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-typedef void (*rtl_fm_output_fn_t)(int16_t *result, int result_len, void *data);
-
-int rtl_fm_init(uint32_t freq,
- uint32_t sample_rate,
- uint32_t resample_rate,
- rtl_fm_output_fn_t output_fn,
- void *output_fn_data);
-
-void rtl_fm_start(void);
-
-void rtl_fm_set_freq(uint32_t freq);
-
-void rtl_fm_set_freq_callback(void (*callback)(uint32_t, void *),
- void *data);
-
-uint32_t rtl_fm_get_freq(void);
-
-void rtl_fm_stop(void);
-
-void rtl_fm_scan_start(int direction,
- void (*callback)(uint32_t, void *),
- void *data,
- uint32_t step,
- uint32_t min,
- uint32_t max);
-
-void rtl_fm_scan_stop(void);
-
-void rtl_fm_scan_set_squelch_level(int level);
-
-void rtl_fm_scan_set_squelch_limit(int count);
-
-void rtl_fm_cleanup(void);
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* RTL_FM_H */