HephAudio
v3.0.6
A cross-platform C++ library for recording, playing, and processing audio on Windows, Android, Linux, iOS, and macOS.
Loading...
Searching...
No Matches
HephAudio
HeaderFiles
EchoInfo.h
Go to the documentation of this file.
1
#pragma once
2
#include "
HephAudioShared.h
"
3
#include "
AudioBuffer.h
"
4
#include <cstdint>
5
8
namespace
HephAudio
9
{
14
struct
HEPH_API
EchoInfo
15
{
20
uint32_t
reflectionCount
;
21
26
double
reflectionDelay_s
;
27
33
double
decayFactor
;
34
40
double
echoStartPosition
;
41
48
double
echoEndPosition
;
49
51
EchoInfo
();
52
62
EchoInfo
(uint32_t reflectionCount,
double
reflectionDelay_s,
double
decayFactor,
double
echoStartPosition,
double
echoEndPosition);
63
68
size_t
CalculateAudioBufferFrameCount
(
const
AudioBuffer
& buffer)
const
;
69
};
70
}
AudioBuffer.h
HephAudioShared.h
HEPH_API
#define HEPH_API
Definition
HephShared.h:132
HephAudio::AudioBuffer
class for storing the audio samples in internal format.
Definition
AudioBuffer.h:16
HephAudio::EchoInfo
container for echo effect parameters.
Definition
EchoInfo.h:15
HephAudio::EchoInfo::reflectionCount
uint32_t reflectionCount
Definition
EchoInfo.h:20
HephAudio::EchoInfo::echoStartPosition
double echoStartPosition
Definition
EchoInfo.h:40
HephAudio::EchoInfo::echoEndPosition
double echoEndPosition
Definition
EchoInfo.h:48
HephAudio::EchoInfo::reflectionDelay_s
double reflectionDelay_s
Definition
EchoInfo.h:26
HephAudio::EchoInfo::EchoInfo
EchoInfo()
HephAudio::EchoInfo::decayFactor
double decayFactor
Definition
EchoInfo.h:33
HephAudio::EchoInfo::CalculateAudioBufferFrameCount
size_t CalculateAudioBufferFrameCount(const AudioBuffer &buffer) const
HephAudio::EchoInfo::EchoInfo
EchoInfo(uint32_t reflectionCount, double reflectionDelay_s, double decayFactor, double echoStartPosition, double echoEndPosition)
Generated by
1.11.0