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::Window Class Referenceabstract

base class for windows. More...

#include <Window.h>

Inheritance diagram for HephAudio::Window:
HephAudio::BartlettHannWindow HephAudio::BlackmanHarrisWindow HephAudio::BlackmanNuttallWindow HephAudio::BlackmanWindow HephAudio::ExactBlackmanWindow HephAudio::FlatTopWindow HephAudio::GaussianWindow HephAudio::HammingWindow HephAudio::HannPoissonWindow HephAudio::HannWindow HephAudio::LanczosWindow HephAudio::NuttallWindow HephAudio::ParzenWindow HephAudio::RectangularWindow HephAudio::SineWindow HephAudio::TriangularWindow HephAudio::TukeyWindow HephAudio::WelchWindow

Public Member Functions

virtual ~Window ()=default
 
virtual double operator[] (size_t n) const =0
 
Heph::DoubleBuffer GenerateBuffer () const
 
size_t GetSize () const
 
virtual void SetSize (size_t newSize)
 

Protected Member Functions

 Window ()
 
 Window (size_t size)
 

Protected Attributes

size_t size
 

Detailed Description

base class for windows.

Constructor & Destructor Documentation

◆ Window() [1/2]

HephAudio::Window::Window ( )
protected

creates a new instance and initializes it with default values.

◆ Window() [2/2]

HephAudio::Window::Window ( size_t size)
protected

creates a new instance and initializes it with the provided values.

Parameters
sizesize of the window

◆ ~Window()

virtual HephAudio::Window::~Window ( )
virtualdefault

releases the resources and destroys the instance.

Member Function Documentation

◆ operator[]()

◆ GenerateBuffer()

Heph::DoubleBuffer HephAudio::Window::GenerateBuffer ( ) const

generates a buffer.

◆ GetSize()

size_t HephAudio::Window::GetSize ( ) const

gets the size of the window.

◆ SetSize()

Member Data Documentation

◆ size

size_t HephAudio::Window::size
protected

size of the window