<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic DirectSoundRendere Problem (DEADLOCK) in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/DirectSoundRendere-Problem-DEADLOCK/m-p/797265#M2846</link>
    <description>Hi @ all&lt;BR /&gt;&lt;BR /&gt;i think i found a deadlock problem in the directsound - renderer. I will explain it:&lt;BR /&gt;When the directsound rederer is initialized and no sound data available before and you call Close() it will hang.&lt;BR /&gt;&lt;BR /&gt;So i changed it and close the hande before the rest will do it's work now it will work (line 284):&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;UMC::Status UMC::DSoundAudioRender::Close()&lt;BR /&gt;{&lt;BR /&gt; if (NULL != m_hTimer) {&lt;BR /&gt;  CloseHandle(m_hTimer);&lt;BR /&gt;  m_hTimer = NULL;&lt;BR /&gt; }&lt;BR /&gt; BasicAudioRender::Close();&lt;BR /&gt; m_DSBuffer.Close();&lt;BR /&gt; m_AudioPtsArray.Reset();&lt;BR /&gt; m_dwSampleAlign = 0;&lt;BR /&gt; return UMC_OK;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;Best Regards&lt;BR /&gt;&lt;BR /&gt;Detlef</description>
    <pubDate>Thu, 21 Jun 2012 16:30:51 GMT</pubDate>
    <dc:creator>detlef_stralaudynami</dc:creator>
    <dc:date>2012-06-21T16:30:51Z</dc:date>
    <item>
      <title>DirectSoundRendere Problem (DEADLOCK)</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/DirectSoundRendere-Problem-DEADLOCK/m-p/797265#M2846</link>
      <description>Hi @ all&lt;BR /&gt;&lt;BR /&gt;i think i found a deadlock problem in the directsound - renderer. I will explain it:&lt;BR /&gt;When the directsound rederer is initialized and no sound data available before and you call Close() it will hang.&lt;BR /&gt;&lt;BR /&gt;So i changed it and close the hande before the rest will do it's work now it will work (line 284):&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;UMC::Status UMC::DSoundAudioRender::Close()&lt;BR /&gt;{&lt;BR /&gt; if (NULL != m_hTimer) {&lt;BR /&gt;  CloseHandle(m_hTimer);&lt;BR /&gt;  m_hTimer = NULL;&lt;BR /&gt; }&lt;BR /&gt; BasicAudioRender::Close();&lt;BR /&gt; m_DSBuffer.Close();&lt;BR /&gt; m_AudioPtsArray.Reset();&lt;BR /&gt; m_dwSampleAlign = 0;&lt;BR /&gt; return UMC_OK;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;Best Regards&lt;BR /&gt;&lt;BR /&gt;Detlef</description>
      <pubDate>Thu, 21 Jun 2012 16:30:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/DirectSoundRendere-Problem-DEADLOCK/m-p/797265#M2846</guid>
      <dc:creator>detlef_stralaudynami</dc:creator>
      <dc:date>2012-06-21T16:30:51Z</dc:date>
    </item>
    <item>
      <title>DirectSoundRendere Problem (DEADLOCK)</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/DirectSoundRendere-Problem-DEADLOCK/m-p/797266#M2847</link>
      <description>yes, it looks like a error. Thanks for report. We will fix that in one of the future release.</description>
      <pubDate>Fri, 22 Jun 2012 07:14:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/DirectSoundRendere-Problem-DEADLOCK/m-p/797266#M2847</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2012-06-22T07:14:04Z</dc:date>
    </item>
  </channel>
</rss>

