Remove audio frame limit.

It serves no purpose and causes bugs and confusion for users.
This commit is contained in:
Rachel Bryk
2014-07-24 08:16:17 -04:00
parent e91db62f1b
commit acaac51077
7 changed files with 5 additions and 30 deletions

View File

@ -26,7 +26,6 @@ public:
, m_streaming_mixer(this, 48000)
, m_sampleRate(BackendSampleRate)
, m_logAudio(0)
, m_throttle(false)
, m_speed(0)
{
INFO_LOG(AUDIO_INTERFACE, "Mixer is initialized");
@ -43,9 +42,6 @@ public:
unsigned int GetSampleRate() const { return m_sampleRate; }
void SetStreamingVolume(unsigned int lvolume, unsigned int rvolume);
void SetThrottle(bool use) { m_throttle = use;}
virtual void StartLogAudio(const std::string& filename)
{
if (! m_logAudio)
@ -118,8 +114,6 @@ protected:
bool m_logAudio;
bool m_throttle;
std::mutex m_csMixing;
volatile float m_speed; // Current rate of the emulation (1.0 = 100% speed)