Added audio time stretching by using the SoundTouch library.

This commit is contained in:
skidau
2013-01-09 22:57:32 +11:00
parent c8c78e0aa9
commit 63b38be97c
32 changed files with 6520 additions and 38 deletions

View File

@ -92,6 +92,9 @@ public:
std::mutex& MixerCritical() { return m_csMixing; }
volatile float GetCurrentSpeed() const { return m_speed; }
void UpdateSpeed(volatile float val) { m_speed = val; }
protected:
unsigned int m_sampleRate;
unsigned int m_aiSampleRate;
@ -113,6 +116,8 @@ protected:
bool m_AIplaying;
std::mutex m_csMixing;
volatile float m_speed; // Current rate of the emulation (1.0 = 100% speed)
private:
};