Community
cancel
Showing results for 
Search instead for 
Did you mean: 
33 Views

DirectSoundRendere Problem (DEADLOCK)

Hi @ all

i think i found a deadlock problem in the directsound - renderer. I will explain it:
When the directsound rederer is initialized and no sound data available before and you call Close() it will hang.

So i changed it and close the hande before the rest will do it's work now it will work (line 284):


UMC::Status UMC::DSoundAudioRender::Close()
{
if (NULL != m_hTimer) {
CloseHandle(m_hTimer);
m_hTimer = NULL;
}
BasicAudioRender::Close();
m_DSBuffer.Close();
m_AudioPtsArray.Reset();
m_dwSampleAlign = 0;
return UMC_OK;
}

Best Regards

Detlef
0 Kudos
1 Reply
Gennady_F_Intel
Moderator
33 Views

yes, it looks like a error. Thanks for report. We will fix that in one of the future release.
Reply