48 std::vector<std::shared_ptr<std::vector<std::shared_ptr<std::vector<std::complex<sample_t>>>>>> m_processedIR;
71 ImpulseResponse(std::shared_ptr<StreamBuffer> impulseResponse, std::shared_ptr<FFTPlan> plan);
97 std::shared_ptr<std::vector<std::shared_ptr<std::vector<std::complex<sample_t>>>>>
getChannel(
int n);
105 void processImpulseResponse(std::shared_ptr<IReader> reader, std::shared_ptr<FFTPlan> plan);
#define AUD_NAMESPACE_END
Closes the audaspace namespace aud.
Definition Audaspace.h:119
#define AUD_NAMESPACE_BEGIN
Opens the audaspace namespace aud.
Definition Audaspace.h:116
#define AUD_API
Used for exporting symbols in the shared library.
Definition Audaspace.h:93
This class represents an impulse response that can be used in convolution.
Definition ImpulseResponse.h:41
ImpulseResponse(std::shared_ptr< StreamBuffer > impulseResponse, std::shared_ptr< FFTPlan > plan)
Creates a new ImpulseResponse object.
ImpulseResponse(std::shared_ptr< StreamBuffer > impulseResponse)
Creates a new ImpulseResponse object.
int getLength()
Retrieves the length of the impulse response.
std::shared_ptr< std::vector< std::shared_ptr< std::vector< std::complex< sample_t > > > > > getChannel(int n)
Retrieves one channel of the impulse response.
Specs getSpecs()
Returns the specification of the impulse response.
Specification of a sound source.
Definition Specification.h:119