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
AudioEffects
Overdrive.h
Go to the documentation of this file.
1
#pragma once
2
#include "
HephAudioShared.h
"
3
#include "
AudioEffect.h
"
4
7
namespace
HephAudio
8
{
13
class
Overdrive
:
public
AudioEffect
14
{
15
protected
:
21
double
drive
;
22
23
public
:
25
Overdrive
();
26
33
explicit
Overdrive
(
double
drive
);
34
36
virtual
~Overdrive
() =
default
;
37
38
virtual
std::string
Name
()
const override
;
39
44
virtual
double
GetDrive
()
const
;
45
51
virtual
void
SetDrive
(
double
drive
);
52
53
protected
:
54
virtual
void
ProcessST
(
const
AudioBuffer
& inputBuffer,
AudioBuffer
& outputBuffer,
size_t
startIndex,
size_t
frameCount)
override
;
55
};
56
}
AudioEffect.h
HephAudioShared.h
HephAudio::AudioBuffer
class for storing the audio samples in internal format.
Definition
AudioBuffer.h:16
HephAudio::AudioEffect
base class for the audio effects.
Definition
AudioEffect.h:15
HephAudio::Overdrive
applies overdrive distortion.
Definition
Overdrive.h:14
HephAudio::Overdrive::drive
double drive
Definition
Overdrive.h:21
HephAudio::Overdrive::~Overdrive
virtual ~Overdrive()=default
HephAudio::Overdrive::ProcessST
virtual void ProcessST(const AudioBuffer &inputBuffer, AudioBuffer &outputBuffer, size_t startIndex, size_t frameCount) override
HephAudio::Overdrive::Overdrive
Overdrive()
HephAudio::Overdrive::Name
virtual std::string Name() const override
HephAudio::Overdrive::GetDrive
virtual double GetDrive() const
HephAudio::Overdrive::SetDrive
virtual void SetDrive(double drive)
HephAudio::Overdrive::Overdrive
Overdrive(double drive)
Generated by
1.11.0