<?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 AAC - audio decoding and rendering in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/AAC-audio-decoding-and-rendering/m-p/826222#M5199</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am looking for the IPP usage examples for AAC- audio decoding andaudio rendering. Can anyone help please ? I tried searching the usage examples in the UMC manual. But i failed to find it. Can anyone attach the samples of how the AAC- audio decoding and rendering is done ?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
    <pubDate>Wed, 21 Sep 2011 05:58:14 GMT</pubDate>
    <dc:creator>bharath322</dc:creator>
    <dc:date>2011-09-21T05:58:14Z</dc:date>
    <item>
      <title>AAC - audio decoding and rendering</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/AAC-audio-decoding-and-rendering/m-p/826222#M5199</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am looking for the IPP usage examples for AAC- audio decoding andaudio rendering. Can anyone help please ? I tried searching the usage examples in the UMC manual. But i failed to find it. Can anyone attach the samples of how the AAC- audio decoding and rendering is done ?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Wed, 21 Sep 2011 05:58:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/AAC-audio-decoding-and-rendering/m-p/826222#M5199</guid>
      <dc:creator>bharath322</dc:creator>
      <dc:date>2011-09-21T05:58:14Z</dc:date>
    </item>
    <item>
      <title>AAC - audio decoding and rendering</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/AAC-audio-decoding-and-rendering/m-p/826223#M5200</link>
      <description>You may download it from&lt;BR /&gt;&lt;BR /&gt;&lt;P&gt;&lt;A href="http://software.intel.com/en-us/articles/intel-integrated-performance-primitives-code-samples/" target="_blank"&gt;http://software.intel.com/en-us/articles/intel-integrated-performance-primitives-code-samples/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;--Vipin&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2011 06:00:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/AAC-audio-decoding-and-rendering/m-p/826223#M5200</guid>
      <dc:creator>VipinKumar_E_Intel</dc:creator>
      <dc:date>2011-09-21T06:00:20Z</dc:date>
    </item>
    <item>
      <title>AAC - audio decoding and rendering</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/AAC-audio-decoding-and-rendering/m-p/826224#M5201</link>
      <description>I have tried to do AAC - audio streaming from the camera using the IPP audio-video codecs samples&lt;BR /&gt;The following are the steps i have done.&lt;BR /&gt;1)&lt;BR /&gt;The initialization was done only once.&lt;P&gt;m_pAudioparams-&amp;gt;m_info_in.sample_frequency = 8000;&lt;/P&gt;&lt;P&gt;m_pAudioparams-&amp;gt;m_info_in.bitPerSample = 16;&lt;/P&gt;&lt;P&gt;m_pAudioparams-&amp;gt;m_info_in.channels = 2;&lt;/P&gt;&lt;P&gt;m_pAudioparams-&amp;gt;m_info_in.bitrate = 32000;&lt;/P&gt;&lt;P&gt;m_pAudioparams-&amp;gt;m_info_in.stream_type = UMC::AAC_MPEG_STREAM;&lt;/P&gt;&lt;P&gt;m_pAudioparams-&amp;gt;m_pData = rtspClient-&amp;gt;m_pAudMediaIn;&lt;BR /&gt;&lt;BR /&gt;// where m_pAudioparams is UMC::AudioCodecParams&lt;/P&gt;&lt;P&gt;if (UMC::UMC_OK = (m_pAudioDecoder-&amp;gt;Init(m_pAudioparams)))&lt;BR /&gt;{&lt;BR /&gt; //initialization Sucess&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;2) Then&lt;/P&gt;&lt;P&gt;m_pAudMediaIn-&amp;gt;SetBufferPointer((Ipp8u *)szData,len); &lt;BR /&gt;&lt;BR /&gt;//
 m_pAudMediaIn is UMC::MediaData object ,szData is raw audio buffer from
 the camera i get everytime as it streams, len is length of the audio 
buffer.&lt;/P&gt;&lt;P&gt;m_pAudMediaIn-&amp;gt;SetDataSize(len);&lt;BR /&gt;&lt;BR /&gt;is set eveytime.&lt;BR /&gt;&lt;BR /&gt;3) &lt;BR /&gt;&lt;BR /&gt;UMC::Status stRes = m_pAudioDecoder-&amp;gt;GetFrame(m_pAudMediaIn,m_pAudMediaOut);&lt;BR /&gt;&lt;BR /&gt;if(UMC::UMC_OK == stRes)&lt;BR /&gt;{&lt;/P&gt;&lt;P&gt; if(!m_bFirst)&lt;/P&gt;&lt;P&gt; {&lt;BR /&gt; // Audio Renderer initialization is done only once&lt;/P&gt;&lt;P&gt;m_pAudioDecoder-&amp;gt;GetInfo(m_pAudioparams);&lt;/P&gt;&lt;P&gt; m_bFirst =TRUE;&lt;/P&gt;&lt;P&gt;m_pAudioRenderParams-&amp;gt;info = m_pAudioparams-&amp;gt;m_info_out;&lt;BR /&gt;//
 At this point I got m_info_out.channels = 0,m_info_out.samplefrequency =
 16000,m_info_out.bitrate = 0, m_info_out.bitpersample = 
16,m_info_out.stream_type = PCM_AUDIO.&lt;/P&gt;&lt;P&gt; UMC::HWNDModuleContext hmcontext;&lt;/P&gt;&lt;P&gt;  hmcontext.m_hWnd = (HWND)m_hWnd;&lt;/P&gt;&lt;P&gt;  m_pAudioRenderParams-&amp;gt;pModuleContext = &amp;amp;hmcontext;&lt;/P&gt;&lt;P&gt;
 UMC::Status stRes = m_pAudioRender-&amp;gt;Init(m_pAudioRenderParams); 
//m_pAudioRender is UMC::WinMMAudioRender() HERE initialization is 
failing.&lt;/P&gt;&lt;P&gt; }&lt;/P&gt;&lt;P&gt; m_pAudioRender-&amp;gt;SetVolume(1);&lt;/P&gt;&lt;P&gt;  UMC::Status sta = m_pAudioRender-&amp;gt;SendFrame(m_pAudMediaOut);&lt;/P&gt;&lt;P&gt; }&lt;/P&gt;}&lt;BR /&gt;&lt;BR /&gt;In this stepthe AACdecoder-&amp;gt;getframe returns UMC::UMC_OK whenever it gets the frame.&lt;BR /&gt;&lt;BR /&gt;But initializing the audio rendering is failing from the above for me.&lt;BR /&gt;&lt;BR /&gt;Could anyone please help me out where I am doing wrong?&lt;BR /&gt;&lt;BR /&gt;Please Help me?</description>
      <pubDate>Wed, 21 Sep 2011 06:50:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/AAC-audio-decoding-and-rendering/m-p/826224#M5201</guid>
      <dc:creator>bharath322</dc:creator>
      <dc:date>2011-09-21T06:50:26Z</dc:date>
    </item>
  </channel>
</rss>

