Etterna
0.74.4
Loading...
Searching...
No Matches
src
RageUtil
Sound
RageSoundUtil.h
1
#ifndef RAGE_SOUND_UTIL_H
2
#define RAGE_SOUND_UTIL_H
3
5
namespace
RageSoundUtil
{
6
void
7
Attenuate(
float
* pBuf,
int
iSamples,
float
fVolume);
8
void
9
Pan(
float
* pBuffer,
int
iFrames,
float
fPos);
10
void
11
Fade(
float
* pBuffer,
12
int
iFrames,
13
int
iChannels,
14
float
fStartVolume,
15
float
fEndVolume);
16
void
17
ConvertMonoToStereoInPlace(
float
* pBuffer,
int
iFrames);
18
void
19
ConvertNativeInt16ToFloat(
const
int16_t* pFrom,
float
* pTo,
int
iSamples);
20
void
21
ConvertFloatToNativeInt16(
const
float
* pFrom, int16_t* pTo,
int
iSamples);
22
};
23
24
#endif
RageSoundUtil
Simple utilities that operate on sound buffers.
Definition
RageSoundUtil.h:5
Generated by
1.9.8