Audaspace 1.5.0
A high level audio library.
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Equalizer Class Reference

This class represents a sound that can be modified depending on a given impulse response. More...

#include <Equalizer.h>

Inheritance diagram for Equalizer:
Inheritance graph
[legend]

Public Member Functions

 Equalizer (std::shared_ptr< ISound > sound, std::shared_ptr< Buffer > bufEQ, int externalSizeEq, float maxFreqEq, int sizeConversion)
 Creates a new Equalizer.
 
virtual std::shared_ptr< IReadercreateReader ()
 Creates a reader for playback of the sound source.
 
- Public Member Functions inherited from ISound
virtual ~ISound ()
 Destroys the sound.
 

Public Attributes

int external_size_eq
 
int filter_length
 
float maxFreqEq
 

Detailed Description

This class represents a sound that can be modified depending on a given impulse response.

Constructor & Destructor Documentation

◆ Equalizer()

Equalizer::Equalizer ( std::shared_ptr< ISound > sound,
std::shared_ptr< Buffer > bufEQ,
int externalSizeEq,
float maxFreqEq,
int sizeConversion )

Creates a new Equalizer.

Parameters
soundThe sound that will be equalized

Member Function Documentation

◆ createReader()

virtual std::shared_ptr< IReader > Equalizer::createReader ( )
virtual

Creates a reader for playback of the sound source.

Returns
A pointer to an IReader object or nullptr if there has been an error.
Exceptions
ExceptionAn exception may be thrown if there has been a more unexpected error during reader creation.

Implements ISound.


The documentation for this class was generated from the following file: