MOS
filter.hpp
1 #pragma once
2 
3 #include <chrono>
4 
5 #include <AL/al.h>
6 #include <AL/alc.h>
7 #include <AL/alext.h>
8 #include <AL/efx-presets.h>
9 
10 #include <mos/al/resource.hpp>
11 #include <mos/apu/source.hpp>
12 
13 namespace mos::aud {
14 class Source;
15 }
16 
17 namespace mos::al {
18 
19 class Source;
20 
22 class Filter final : public Resource {
23  friend class Renderer;
24 
25 public:
26  void update(const apu::Source &source, const float dt);
27 
28 private:
29  Filter(const Source &source);
30 };
31 } // namespace mos::al
Definition: buffer.hpp:13
Filter living on the APU.
Definition: filter.hpp:22
General resource living on the APU.
Definition: resource.hpp:14
Source living on the APU.
Definition: source.hpp:17
Source living on the APU.
Definition: source.hpp:14
OpenAL audio renderer.
Definition: renderer.hpp:35
Definition: filter.hpp:13