OpenDAFF C++ API
v1.7
Directional Audio File Format
Main Page
Namespaces
Classes
Files
File List
File Members
include
DAFFContentDFT.h
Go to the documentation of this file.
1
/*
2
* -------------------------------------------------------------------------------------
3
*
4
* OpenDAFF - A free, open source software package for directional audio data
5
* Copyright 2016 Institute of Technical Acoustics, RWTH Aachen University
6
* OpenDAFF is distributed under the Apache License Version 2.0.
7
*
8
* ------------------------------------------------------------------------------------
9
*
10
*/
11
12
#ifndef IW_DAFF_CONTENTDFT
13
#define IW_DAFF_CONTENTDFT
14
15
#include <
DAFFDefs.h
>
16
#include <
DAFFContent.h
>
17
#include <vector>
18
20
31
class
DAFF_API
DAFFContentDFT
:
public
DAFFContent
32
{
33
public
:
34
inline
virtual
~DAFFContentDFT
() {};
35
37
43
virtual
int
getTransformSize()
const
=0;
44
46
55
virtual
int
getNumDFTCoeffs()
const
=0;
56
58
61
virtual
bool
isSymmetric()
const
=0;
62
64
67
virtual
double
getSamplerate()
const
=0;
68
70
73
virtual
double
getFrequencyBandwidth()
const
=0;
74
76
82
virtual
float
getOverallMagnitudeMaximum()
const
=0;
83
84
// --= Data access =--
85
87
99
virtual
int
getDFTCoeff(
int
iRecordIndex,
int
iChannel,
int
iDFTCoeff,
float
& fReal,
float
& fImag)
const
=0;
100
102
115
virtual
int
getDFTCoeffs(
int
iRecordIndex,
int
iChannel,
float
* pfDest)
const
=0;
116
};
117
118
#endif // IW_DAFF_CONTENTDFT
DAFF_API
#define DAFF_API
Definition:
DAFFDefs.h:29
DAFFContent
Common content interface.
Definition:
DAFFContent.h:40
DAFFDefs.h
DAFFContent.h
DAFFContentDFT::~DAFFContentDFT
virtual ~DAFFContentDFT()
Definition:
DAFFContentDFT.h:34
DAFFContentDFT
Discrete Fourier spectrum content interface.
Definition:
DAFFContentDFT.h:31
OpenDAFF
is a project from the
Institute of Technical Acoustics
, RWTH Aachen University, Germany.