OpenDAFF C++ API  v1.7
Directional Audio File Format
DAFFContentPS.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_CONTENTPS
13 #define IW_DAFF_CONTENTPS
14 
15 #include <DAFFDefs.h>
16 #include <DAFFContent.h>
17 #include <vector>
18 
20 
32 {
33 public:
34  inline virtual ~DAFFContentPS() {};
35 
37  /*
38  * @return Number of frequencies
39  */
40  virtual int getNumFrequencies() const=0;
41 
43  /*
44  * @return Vector of frequencies
45  */
46  virtual const std::vector<float>& getFrequencies() const=0;
47 
48  // --= Data access =--
49 
51 
63  virtual int getPhases(int iRecordIndex, int iChannel, float* pfDest) const=0;
64 };
65 
66 #endif // IW_DAFF_CONTENTPS
#define DAFF_API
Definition: DAFFDefs.h:29
Common content interface.
Definition: DAFFContent.h:40
Phase spectrum content interface.
Definition: DAFFContentPS.h:31
virtual ~DAFFContentPS()
Definition: DAFFContentPS.h:34
OpenDAFF is a project from the Institute of Technical Acoustics, RWTH Aachen University, Germany.