- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yes, it looks like a error. Thanks for report. We will fix that in one of the future release.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page