Etterna 0.75.1
Loading...
Searching...
No Matches
RageSoundReader_PostBuffering.h
1/* RageSoundReader_PostBuffering - Apply low-latency effects. */
2
3#ifndef RAGE_SOUND_READER_POST_BUFFERING_H
4#define RAGE_SOUND_READER_POST_BUFFERING_H
5
6#include "RageSoundReader_Filter.h"
7
9{
10 public:
12 RageSoundReader_PostBuffering* Copy() const override
13 {
14 return new RageSoundReader_PostBuffering(*this);
15 }
16 int Read(float* pBuf, int iFrames) override;
17 bool SetProperty(const std::string& sProperty, float fValue) override;
18 static void SetMasterVolume(float fVolume);
19 static void SetBGMVolume(float fVol);
20 static void SetActionVolume(float fVol);
21 static float GetMasterVolume();
22
23 private:
24
25 float GetActionVolume() const;
26 float GetBGMVolume() const;
27
28 float m_fVolume;
29 bool m_bIsAction{ false };
30 bool m_bIsBGM{ false };
31};
32
33#endif
Definition RageSoundReader_Filter.h:10
Definition RageSoundReader_PostBuffering.h:9
Definition RageSoundReader.h:7