AudioCommon: Remove unused code from XAudio streams

This commit is contained in:
Lioncash 2015-08-09 21:37:34 -04:00
parent 3f78d74fc1
commit 4c6930d36c
4 changed files with 0 additions and 32 deletions

View File

@ -210,21 +210,6 @@ void XAudio2::SetVolume(int volume)
m_mastering_voice->SetVolume(m_volume);
}
void XAudio2::Update()
{
//m_sound_sync_event.Set();
//static int xi = 0;
//if (100000 == ++xi)
//{
// xi = 0;
// XAUDIO2_PERFORMANCE_DATA perfData;
// pXAudio2->GetPerformanceData(&perfData);
// NOTICE_LOG(DSPHLE, "XAudio2 latency (samples): %i", perfData.CurrentLatencyInSamples);
// NOTICE_LOG(DSPHLE, "XAudio2 total glitches: %i", perfData.GlitchesSinceEngineStarted);
//}
}
void XAudio2::Clear(bool mute)
{
m_muted = mute;

View File

@ -57,7 +57,6 @@ public:
bool Start() override;
void Stop() override;
void Update() override;
void Clear(bool mute) override;
void SetVolume(int volume) override;

View File

@ -198,21 +198,6 @@ void XAudio2_7::SetVolume(int volume)
m_mastering_voice->SetVolume(m_volume);
}
void XAudio2_7::Update()
{
//m_sound_sync_event.Set();
//static int xi = 0;
//if (100000 == ++xi)
//{
// xi = 0;
// XAUDIO2_PERFORMANCE_DATA perfData;
// pXAudio2->GetPerformanceData(&perfData);
// NOTICE_LOG(DSPHLE, "XAudio2_7 latency (samples): %i", perfData.CurrentLatencyInSamples);
// NOTICE_LOG(DSPHLE, "XAudio2_7 total glitches: %i", perfData.GlitchesSinceEngineStarted);
//}
}
void XAudio2_7::Clear(bool mute)
{
m_muted = mute;

View File

@ -64,7 +64,6 @@ public:
bool Start() override;
void Stop() override;
void Update() override;
void Clear(bool mute) override;
void SetVolume(int volume) override;