From 82a7ea3745f40ff55f54ea6964b8e326b27d7593 Mon Sep 17 00:00:00 2001 From: scop Date: Wed, 16 Mar 2005 09:36:03 +0000 Subject: Whitespace sync with HEAD. --- dxr3interface.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'dxr3interface.c') diff --git a/dxr3interface.c b/dxr3interface.c index 449abf0..df84640 100644 --- a/dxr3interface.c +++ b/dxr3interface.c @@ -292,7 +292,7 @@ void cDxr3Interface::SetAudioSampleSize(uint32_t sampleSize) cLog::Instance() <<"cDxr3AbsDevice::SetAudioSampleSize Unable to set audio sample size\n"; } } - m_audioSampleSize = sampleSize; + m_audioSampleSize = sampleSize; } // clock @@ -312,7 +312,7 @@ uint32_t cDxr3Interface::GetSysClock() const if (!m_ExternalReleased) { ret = m_pClock->GetSysClock(); - } + } return ret; } @@ -689,6 +689,7 @@ void cDxr3Interface::PlayAudioFrame(uint8_t* pBuf, int length) cLog::Instance() << "cDxr3Interface::PlayAudioFrame(uint8_t* pBuf, int length): Not written = " << length - written << "\n"; } } + Unlock(); } @@ -1119,8 +1120,10 @@ void cDxr3Interface::SetPalette(unsigned int *pal) void cDxr3Interface::ResetHardware() { Lock(); + cLog::Instance() << "cDxr3Interface: Resting DXR3 hardware\n"; Resuscitation(); + Unlock(); } -- cgit v1.2.3