HephAudio v3.0.6
A cross-platform C++ library for recording, playing, and processing audio on Windows, Android, Linux, iOS, and macOS.
|
generates rectangular window More...
#include <RectangularWindow.h>
Public Member Functions | |
RectangularWindow () | |
RectangularWindow (size_t size) | |
double | operator[] (size_t n) const override |
Public Member Functions inherited from HephAudio::Window | |
virtual | ~Window ()=default |
Heph::DoubleBuffer | GenerateBuffer () const |
size_t | GetSize () const |
virtual void | SetSize (size_t newSize) |
Additional Inherited Members | |
Protected Member Functions inherited from HephAudio::Window | |
Window () | |
Window (size_t size) | |
Protected Attributes inherited from HephAudio::Window | |
size_t | size |
generates rectangular window
HephAudio::RectangularWindow::RectangularWindow | ( | ) |
creates a new instance and initializes it with default values.
HephAudio::RectangularWindow::RectangularWindow | ( | size_t | size | ) |
creates a new instance and initializes it with the provided values.
size | size of the window |
|
overridevirtual |
calculates the sample at index n.
Implements HephAudio::Window.