Files
workinf_Blender_Wasm/blender-5.2.0/extern/audaspace/include/fx/Echo.h
2026-08-12 04:47:48 -04:00

28 lines
541 B
C++

#pragma once
/**
* @file Echo.h
* @ingroup fx
* The Echo class.
*/
#include "fx/Effect.h"
AUD_NAMESPACE_BEGIN
class AUD_API Echo : public Effect
{
private:
float m_delay; /* Delay time in seconds */
float m_feedback; /* Feedback amount */
float m_mix; /* Wet/dry mix */
bool m_resetBuffer; /* Whether to reset the delay buffer */
public:
Echo(std::shared_ptr<ISound> sound, float delay, float feedback, float mix, bool resetBuffer = true);
virtual std::shared_ptr<IReader> createReader();
};
AUD_NAMESPACE_END