SoapySDR: Formats.h Source File

| SoapySDR 0.8.1-ARCH Vendor and platform neutral SDR interface library

Formats.h
Go to the documentation of this file.
1
10
11#pragma once
12#include <SoapySDR/Config.h>
13#include <stddef.h> //size_t
14
16#define SOAPY_SDR_CF64 "CF64"
17
19#define SOAPY_SDR_CF32 "CF32"
20
22#define SOAPY_SDR_CS32 "CS32"
23
25#define SOAPY_SDR_CU32 "CU32"
26
28#define SOAPY_SDR_CS16 "CS16"
29
31#define SOAPY_SDR_CU16 "CU16"
32
34#define SOAPY_SDR_CS12 "CS12"
35
37#define SOAPY_SDR_CU12 "CU12"
38
40#define SOAPY_SDR_CS8 "CS8"
41
43#define SOAPY_SDR_CU8 "CU8"
44
46#define SOAPY_SDR_CS4 "CS4"
47
49#define SOAPY_SDR_CU4 "CU4"
50
52#define SOAPY_SDR_F64 "F64"
53
55#define SOAPY_SDR_F32 "F32"
56
58#define SOAPY_SDR_S32 "S32"
59
61#define SOAPY_SDR_U32 "U32"
62
64#define SOAPY_SDR_S16 "S16"
65
67#define SOAPY_SDR_U16 "U16"
68
70#define SOAPY_SDR_S8 "S8"
71
73#define SOAPY_SDR_U8 "U8"
74
75#ifdef __cplusplus
76extern "C" {
77#endif
78
84 SOAPY_SDR_API size_t SoapySDR_formatToSize(const char *format);
85
86#ifdef __cplusplus
87}
88#endif
Config.h
SOAPY_SDR_API
#define SOAPY_SDR_API
Definition: Config.h:41
SoapySDR_formatToSize
SOAPY_SDR_API size_t SoapySDR_formatToSize(const char *format)