Clean lup

This commit is contained in:
adelikat 2016-12-11 11:40:45 -06:00
parent da5795255c
commit 3be1502b6b
1 changed files with 0 additions and 8 deletions

View File

@ -148,9 +148,6 @@ namespace BizHawk.Client.EmuHawk
if (!Global.Config.SoundEnabled || !IsStarted || _disposed)
{
if (_soundProvider != null) _soundProvider.DiscardSamples();
// Sound refactor TODO: delete me
//if (_asyncSoundProvider != null) _asyncSoundProvider.DiscardSamples();
//if (_syncSoundProvider != null) _syncSoundProvider.DiscardSamples();
if (_outputProvider != null) _outputProvider.DiscardSamples();
return;
}
@ -169,13 +166,9 @@ namespace BizHawk.Client.EmuHawk
samplesProvided = samplesNeeded;
if (_soundProvider != null) _soundProvider.DiscardSamples();
// Sound refactor TODO: delete me
//if (_asyncSoundProvider != null) _asyncSoundProvider.DiscardSamples();
//if (_syncSoundProvider != null) _syncSoundProvider.DiscardSamples();
if (_outputProvider != null) _outputProvider.DiscardSamples();
}
else if ( _soundProvider.SyncMode == SyncSoundMode.Sync)
//else if (_syncSoundProvider != null) // Sound refactor TODO: delete me
{
if (Global.Config.SoundThrottle)
{
@ -197,7 +190,6 @@ namespace BizHawk.Client.EmuHawk
}
}
else if (_soundProvider != null && _soundProvider.SyncMode == SyncSoundMode.Sync)
//else if (_asyncSoundProvider != null) // Sound refactor TODO: delete me
{
samples = new short[samplesNeeded * ChannelCount];