mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2024-11-10 14:23:27 -05:00
41 lines
859 B
C
41 lines
859 B
C
#pragma once
|
|
|
|
#define CUBICSDR_TITLE "CubicSDR v" CUBICSDR_VERSION " by Charles J. Cliffe (@ccliffe) :: www.cubicsdr.com"
|
|
|
|
#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
|
|
|
|
const char filePathSeparator =
|
|
#ifdef _WIN32
|
|
'\\';
|
|
#else
|
|
'/';
|
|
#endif
|
|
|
|
#define BUF_SIZE (16384*6)
|
|
|
|
#define DEFAULT_SAMPLE_RATE 2500000
|
|
#define DEFAULT_FFT_SIZE 2048
|
|
|
|
#define DEFAULT_DEMOD_TYPE "FM"
|
|
#define DEFAULT_DEMOD_BW 200000
|
|
|
|
#define DEFAULT_WATERFALL_LPS 30
|
|
|
|
#define CHANNELIZER_RATE_MAX 500000
|
|
|
|
|