4#ifndef RAGE_SOUND_READER_PITCH_CHANGE_H
5#define RAGE_SOUND_READER_PITCH_CHANGE_H
7#include "RageSoundReader_Filter.h"
19 int Read(
float* pBuf,
int iFrames)
override;
20 bool SetProperty(
const std::string& sProperty,
float fValue)
override;
22 void SetSpeedRatio(
float fRatio) { m_fSpeedRatio = fRatio; }
23 void SetPitchRatio(
float fRatio) { m_fPitchRatio = fRatio; }
40 float m_fLastSetSpeedRatio;
41 float m_fLastSetPitchRatio;
Definition RageSoundReader_Filter.h:10
Definition RageSoundReader_PitchChange.h:14
This class changes the sampling rate of a sound.
Definition RageSoundReader_Resample_Good.h:12
Definition RageSoundReader_SpeedChange_Good.h:15
Definition RageSoundReader_SpeedChange.h:13
Definition RageSoundReader.h:7