# Amuse: include/amuse/EffectBase.hpp Source File

EffectBase.hpp
#ifndef __AMUSE_EFFECTBASE_HPP__
#define __AMUSE_EFFECTBASE_HPP__
#include <stdint.h>
#include <stdlib.h>
namespace amuse
{
class ChannelMap;
class EffectBaseTypeless
{
public:
virtual ~EffectBaseTypeless() = default;
};
template <typename T>
class EffectBase : public EffectBaseTypeless
{
public:
virtual void applyEffect(T* audio, size_t frameCount, const ChannelMap& chanMap)=0;
};
}
#endif // __AMUSE_EFFECTBASE_HPP__
amuse::EffectBaseTypeless
Definition: EffectBase.hpp:11
amuse
Definition: AudioGroup.hpp:8
amuse::ChannelMap
Definition: IBackendVoice.hpp:22
amuse::EffectBase
Definition: EffectBase.hpp:18