Audaspace
1.9.0
A high level audio library.
Toggle main menu visibility
Loading...
Searching...
No Matches
fx
Echo.h
Go to the documentation of this file.
1
#pragma once
2
8
9
#include "
fx/Effect.h
"
10
11
AUD_NAMESPACE_BEGIN
12
13
class
AUD_API
Echo :
public
Effect
14
{
15
private
:
16
float
m_delay;
/* Delay time in seconds */
17
float
m_feedback;
/* Feedback amount */
18
float
m_mix;
/* Wet/dry mix */
19
bool
m_resetBuffer;
/* Whether to reset the delay buffer */
20
21
public
:
22
Echo(std::shared_ptr<ISound> sound,
float
delay,
float
feedback,
float
mix,
bool
resetBuffer =
true
);
23
24
virtual
std::shared_ptr<IReader>
createReader
();
25
};
26
27
AUD_NAMESPACE_END
AUD_NAMESPACE_END
#define AUD_NAMESPACE_END
Closes the audaspace namespace aud.
Definition
Audaspace.h:119
AUD_NAMESPACE_BEGIN
#define AUD_NAMESPACE_BEGIN
Opens the audaspace namespace aud.
Definition
Audaspace.h:116
AUD_API
#define AUD_API
Used for exporting symbols in the shared library.
Definition
Audaspace.h:93
Effect.h
The Effect class.
Echo::createReader
virtual std::shared_ptr< IReader > createReader()
Creates a reader for playback of the sound source.
Generated by
1.17.0