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