mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
AudioCommon: Remove unused code from XAudio streams
This commit is contained in:
parent
3f78d74fc1
commit
4c6930d36c
@ -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;
|
||||
|
@ -57,7 +57,6 @@ public:
|
||||
bool Start() override;
|
||||
void Stop() override;
|
||||
|
||||
void Update() override;
|
||||
void Clear(bool mute) override;
|
||||
void SetVolume(int volume) override;
|
||||
|
||||
|
@ -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;
|
||||
|
@ -64,7 +64,6 @@ public:
|
||||
bool Start() override;
|
||||
void Stop() override;
|
||||
|
||||
void Update() override;
|
||||
void Clear(bool mute) override;
|
||||
void SetVolume(int volume) override;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user