-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsteamaudiomanager.h
More file actions
33 lines (27 loc) · 813 Bytes
/
Copy pathsteamaudiomanager.h
File metadata and controls
33 lines (27 loc) · 813 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
//---------------------OOP Interface for steam audio(not implemented fully yet)---------------------------
#pragma once
#include <SFML/Audio.hpp>
#include "phonon.h"
#include <vector>
class SteamAudioManager
{
public:
SteamAudioManager();
~SteamAudioManager();
void Initialize();
void CleanUp();
void DebugPrint() const;
IPLSource CreateSource();
std::vector<float> ProcessAudio(std::vector<float>& vectorBuffer, IPLVector3& dirVector);
private:
IPLContext context;
IPLContextSettings contextSettings;
IPLAudioSettings audioSettings;
IPLHRTF hrtf;
IPLHRTFSettings hrtfSettings;
IPLSimulator simulator;
IPLBinauralEffect binauralEffect;
IPLBinauralEffectSettings binauralEffectSettings;
IPLAudioBuffer inBuffer;
IPLAudioBuffer outBuffer;
};