Etterna
0.75.1
Loading...
Searching...
No Matches
src
RageUtil
Sound
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
8
class
RageSoundReader_PostBuffering
:
public
RageSoundReader_Filter
9
{
10
public
:
11
RageSoundReader_PostBuffering
(
RageSoundReader
* pSource);
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
RageSoundReader_Filter
Definition
RageSoundReader_Filter.h:10
RageSoundReader_PostBuffering
Definition
RageSoundReader_PostBuffering.h:9
RageSoundReader
Definition
RageSoundReader.h:7
Generated by
1.9.8