diff options
Diffstat (limited to 'src/plugins/Output/directsound/outputdirectsound.cpp')
| -rw-r--r-- | src/plugins/Output/directsound/outputdirectsound.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/plugins/Output/directsound/outputdirectsound.cpp b/src/plugins/Output/directsound/outputdirectsound.cpp index 620b1d38a..1567a4e15 100644 --- a/src/plugins/Output/directsound/outputdirectsound.cpp +++ b/src/plugins/Output/directsound/outputdirectsound.cpp @@ -47,13 +47,6 @@ OutputDirectSound::DSoundChannels OutputDirectSound::m_dsound_pos[10] = { OutputDirectSound::OutputDirectSound() : Output()
{
- m_ds = nullptr;
- m_primaryBuffer = nullptr;
- m_dsBuffer = nullptr;
- m_dsBufferAt = 0;
- m_latency = 0;
- m_bytesPerSecond = 0;
- m_reset = false;
instance = this;
}
@@ -277,7 +270,7 @@ void OutputDirectSound::resume() HRESULT result = m_dsBuffer->Play(0,0,DSBPLAY_LOOPING);
if(result == DSERR_BUFFERLOST)
{
- result = m_dsBuffer->Play(0,0,DSBPLAY_LOOPING);
+ m_dsBuffer->Play(0,0,DSBPLAY_LOOPING);
m_dsBuffer->Restore();
}
}
|
