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
Window.h
Go to the documentation of this file.
1#pragma once
2#include "HephAudioShared.h"
4
7namespace HephAudio
8{
14 {
15 protected:
20 size_t size;
21
22 protected:
25
31 Window(size_t size);
32
33 public:
35 virtual ~Window() = default;
36
41 virtual double operator[](size_t n) const = 0;
42
48
53 size_t GetSize() const;
54
59 virtual void SetSize(size_t newSize);
60 };
61}
#define HEPH_API
Definition HephShared.h:132
base class for windows.
Definition Window.h:14
virtual ~Window()=default
Heph::DoubleBuffer GenerateBuffer() const
size_t size
Definition Window.h:20
virtual void SetSize(size_t newSize)
virtual double operator[](size_t n) const =0
size_t GetSize() const
Window(size_t size)
buffer for storing doubles.
Definition DoubleBuffer.h:14