CubicSDR/src/CubicSDRDefs.h

44 lines
932 B
C
Raw Normal View History

// Copyright (c) Charles J. Cliffe
// SPDX-License-Identifier: GPL-2.0+
#pragma once
2015-04-02 21:04:00 -04:00
#define CUBICSDR_TITLE "CubicSDR v" CUBICSDR_VERSION " by Charles J. Cliffe (@ccliffe) :: www.cubicsdr.com"
2015-01-10 20:33:30 -05:00
2015-02-05 19:30:06 -05:00
#ifndef __BYTE_ORDER
#ifdef _WIN32
#define ATTRIBUTE
#define __LITTLE_ENDIAN 1234
#define __BIG_ENDIAN 4321
#define __PDP_ENDIAN 3412
#define __BYTE_ORDER __LITTLE_ENDIAN
#else
#ifdef __APPLE__
#include <machine/endian.h>
#else
#include <endian.h>
#endif
#endif
#endif
2015-01-10 20:33:30 -05:00
const char filePathSeparator =
#ifdef _WIN32
'\\';
#else
'/';
#endif
2015-01-09 17:17:56 -05:00
#define BUF_SIZE (16384*6)
2015-01-18 01:36:28 -05:00
#define DEFAULT_SAMPLE_RATE 2500000
#define DEFAULT_FFT_SIZE 2048
#define DEFAULT_DEMOD_TYPE "FM"
#define DEFAULT_DEMOD_BW 200000
2015-08-13 20:39:31 -04:00
#define DEFAULT_WATERFALL_LPS 30
2015-12-05 19:07:26 -05:00
#define CHANNELIZER_RATE_MAX 500000