<?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>i.MX Solutions中的主题 Re: xrun issue while reading audio data from 8MIC-RPI-MX8 and alsa loopback sound card</title>
    <link>https://community.nxp.com/t5/i-MX-Solutions/xrun-issue-while-reading-audio-data-from-8MIC-RPI-MX8-and-alsa/m-p/1467822#M236</link>
    <description>&lt;P&gt;Sorry, I have not fully understand where the ASRC will be placed . Would you post a block diagram or something that depict the use of the ASRC on your system, please?&lt;/P&gt;</description>
    <pubDate>Wed, 01 Jun 2022 23:45:57 GMT</pubDate>
    <dc:creator>juangutierrez</dc:creator>
    <dc:date>2022-06-01T23:45:57Z</dc:date>
    <item>
      <title>xrun issue while reading audio data from 8MIC-RPI-MX8 and alsa loopback sound card</title>
      <link>https://community.nxp.com/t5/i-MX-Solutions/xrun-issue-while-reading-audio-data-from-8MIC-RPI-MX8-and-alsa/m-p/1456989#M200</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello, I am using imx8m-plus EVK kit along with&amp;nbsp;8MIC-RPI-MX8 mic board attached to it. I am trying to read 8-mic data from mic board along and 1ch from alsa loopback sound card to be used as aec reference signal (which is coming from PJSIP voip client app running separately). I am getting periodically xrun issue in the application which is reading this audio samples. It seems clocks are not synchronized between mic board and alsa loopback sound card. Looking for help to debug and fix this issue.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2022 06:08:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Solutions/xrun-issue-while-reading-audio-data-from-8MIC-RPI-MX8-and-alsa/m-p/1456989#M200</guid>
      <dc:creator>nsoni</dc:creator>
      <dc:date>2022-05-12T06:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: xrun issue while reading audio data from 8MIC-RPI-MX8 and alsa loopback sound card</title>
      <link>https://community.nxp.com/t5/i-MX-Solutions/xrun-issue-while-reading-audio-data-from-8MIC-RPI-MX8-and-alsa/m-p/1457400#M201</link>
      <description>&lt;P&gt;Hi nsoni&lt;/P&gt;
&lt;P&gt;I guess you are using micfil card for reading from the microphones. Is this correct?&lt;/P&gt;
&lt;P&gt;Have you tried using the AFE wrapper&lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/nxp-afe/tree/TODO.md?h=MM_04.06.02_2108_L5.10.y" target="_blank"&gt;https://source.codeaurora.org/external/imx/nxp-afe/tree/TODO.md?h=MM_04.06.02_2108_L5.10.y&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;You can try the libdummy&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN class="gu"&gt;##&lt;/SPAN&gt; using dummy library
&lt;SPAN class="k"&gt;1.&lt;/SPAN&gt; &lt;SPAN class="sb"&gt;./afe libdummy &amp;amp;&lt;/SPAN&gt;
&lt;SPAN class="k"&gt;2.&lt;/SPAN&gt; &lt;SPAN class="sb"&gt;aplay S32LE16000.wav &amp;amp;&lt;/SPAN&gt;
&lt;SPAN class="k"&gt;3.&lt;/SPAN&gt; &lt;SPAN class="sb"&gt;arecord -d10 -fS32_LE -r16000 -c1 dummy_afe_on.wav&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;The AFE already includes the alsa loopbacks on the asound.conf, so as long as your application (PJSIP) writes to the default alsa device (like in step 1) that&amp;nbsp; should be loopbacked for AEC.&lt;/P&gt;
&lt;P&gt;Within the&amp;nbsp;SignalProcessor_Dummy.cpp you can add your calls for your AEC algorithm at function&amp;nbsp;&lt;SPAN class="n"&gt;SignalProcessor_Dummy&lt;/SPAN&gt;&lt;SPAN class="o"&gt;::&lt;/SPAN&gt;&lt;SPAN class="n"&gt;processSignal&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/nxp-afe/tree/src/SignalProcessor/SignalProcessor_Dummy.cpp?h=MM_04.06.02_2108_L5.10.y#n96" target="_blank"&gt;https://source.codeaurora.org/external/imx/nxp-afe/tree/src/SignalProcessor/SignalProcessor_Dummy.cpp?h=MM_04.06.02_2108_L5.10.y#n96&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2022 16:18:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Solutions/xrun-issue-while-reading-audio-data-from-8MIC-RPI-MX8-and-alsa/m-p/1457400#M201</guid>
      <dc:creator>juangutierrez</dc:creator>
      <dc:date>2022-05-12T16:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: xrun issue while reading audio data from 8MIC-RPI-MX8 and alsa loopback sound card</title>
      <link>https://community.nxp.com/t5/i-MX-Solutions/xrun-issue-while-reading-audio-data-from-8MIC-RPI-MX8-and-alsa/m-p/1457402#M202</link>
      <description>&lt;P&gt;As you mentioned the problem with the XRUN might be because not using the same clk. using the AFE wrapper this is not an issue because it uses 2 alsa loopbacks: one for the playback (reference signal) and another one for the clean voice. Since both sides (capture and playback) used alsa loopbacks the clk is the same and drifting is avoid.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2022 16:22:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Solutions/xrun-issue-while-reading-audio-data-from-8MIC-RPI-MX8-and-alsa/m-p/1457402#M202</guid>
      <dc:creator>juangutierrez</dc:creator>
      <dc:date>2022-05-12T16:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: xrun issue while reading audio data from 8MIC-RPI-MX8 and alsa loopback sound card</title>
      <link>https://community.nxp.com/t5/i-MX-Solutions/xrun-issue-while-reading-audio-data-from-8MIC-RPI-MX8-and-alsa/m-p/1457442#M203</link>
      <description>&lt;P&gt;The AFE also supports dspc I wonder if you might have access already for the AFE wrapper with libdspc support&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2022 18:16:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Solutions/xrun-issue-while-reading-audio-data-from-8MIC-RPI-MX8-and-alsa/m-p/1457442#M203</guid>
      <dc:creator>juangutierrez</dc:creator>
      <dc:date>2022-05-12T18:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: xrun issue while reading audio data from 8MIC-RPI-MX8 and alsa loopback sound card</title>
      <link>https://community.nxp.com/t5/i-MX-Solutions/xrun-issue-while-reading-audio-data-from-8MIC-RPI-MX8-and-alsa/m-p/1457724#M204</link>
      <description>&lt;P&gt;Hi juangutierrez,&lt;/P&gt;&lt;P&gt;Thanks for the update. Yes, I am micfil card to read the data. I was able to run afe for some time and it did not show any xrun error. I will go through its AudioStream code and check I can use it for our application. Our application audio plumbing is slightly different where PJSIP (voip client) sends and receives mono channel to loopback card which is sent/receive by DSPC application engine. PJSIP also connects to server and transmit/receive data to/from far end.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not aware about libdspc support with afe but I will check internally about it. However, if you have access to libdspc code &amp;amp; lib, you can send me as well. Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2022 06:53:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Solutions/xrun-issue-while-reading-audio-data-from-8MIC-RPI-MX8-and-alsa/m-p/1457724#M204</guid>
      <dc:creator>nsoni</dc:creator>
      <dc:date>2022-05-13T06:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: xrun issue while reading audio data from 8MIC-RPI-MX8 and alsa loopback sound card</title>
      <link>https://community.nxp.com/t5/i-MX-Solutions/xrun-issue-while-reading-audio-data-from-8MIC-RPI-MX8-and-alsa/m-p/1458868#M205</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;These are the patches on the latest&amp;nbsp;MM_04.06.04_2112_L5.15.y to support libDSPC on the nxp-afe&lt;/P&gt;
&lt;P&gt;Additionally to the patch you should have a third-party directory at the top directory of the nxp-afe&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="juangutierrez_0-1652742350749.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/179909i2865A0FE66CB95FA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="juangutierrez_0-1652742350749.png" alt="juangutierrez_0-1652742350749.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The second patch is for this directory but it is NOT included the binaries. I guess you should got this from your side.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;juan&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2022 23:41:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Solutions/xrun-issue-while-reading-audio-data-from-8MIC-RPI-MX8-and-alsa/m-p/1458868#M205</guid>
      <dc:creator>juangutierrez</dc:creator>
      <dc:date>2022-05-16T23:41:25Z</dc:date>
    </item>
    <item>
      <title>Re: xrun issue while reading audio data from 8MIC-RPI-MX8 and alsa loopback sound card</title>
      <link>https://community.nxp.com/t5/i-MX-Solutions/xrun-issue-while-reading-audio-data-from-8MIC-RPI-MX8-and-alsa/m-p/1459117#M206</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;juangutierrez,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks for the update. I changed the AFE source code for setting period size to 240 (instead of 512) and rate to 48K (instead of 16K) to make AFE config same as what we are using in our application. I also enabled the XRUN error message in AudioStream.cpp to print the error when stream state is underrun or overrun. I see that XRUN run issue is very easily reproduced with AFE code as well with this period size and sample rate. I used&amp;nbsp;libdummy only for my testing.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let us know if you can also reproduce the issue or not. If yes, Is there any way to overcome it ? Since our voice algo uses 240 period size, we need to set the same in application.&lt;/P&gt;&lt;P&gt;Attached the patch for changing period size, sample rate and add the xrun error message.&lt;/P&gt;&lt;P&gt;Attached the log as well.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2022 07:31:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Solutions/xrun-issue-while-reading-audio-data-from-8MIC-RPI-MX8-and-alsa/m-p/1459117#M206</guid>
      <dc:creator>nsoni</dc:creator>
      <dc:date>2022-05-17T07:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: xrun issue while reading audio data from 8MIC-RPI-MX8 and alsa loopback sound card</title>
      <link>https://community.nxp.com/t5/i-MX-Solutions/xrun-issue-while-reading-audio-data-from-8MIC-RPI-MX8-and-alsa/m-p/1460220#M207</link>
      <description>&lt;P&gt;Hi nsoni,&lt;/P&gt;&lt;P&gt;I compiled the nxp-afe applying the patch where you changed the rates and I reproduced the same error message. I'm still trying to figure out the problem.&lt;/P&gt;&lt;P&gt;Somting I noticed is that the period size in asound.conf was still set to 512, so I changed it to 240, but the error is still happening.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 18:47:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Solutions/xrun-issue-while-reading-audio-data-from-8MIC-RPI-MX8-and-alsa/m-p/1460220#M207</guid>
      <dc:creator>Ohtokani_Pinzón</dc:creator>
      <dc:date>2022-05-18T18:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: xrun issue while reading audio data from 8MIC-RPI-MX8 and alsa loopback sound card</title>
      <link>https://community.nxp.com/t5/i-MX-Solutions/xrun-issue-while-reading-audio-data-from-8MIC-RPI-MX8-and-alsa/m-p/1460287#M208</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/201056"&gt;@Ohtokani_Pinzón&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you try with a multiple of 240 instead? Like 480 or 960.&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 19:54:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Solutions/xrun-issue-while-reading-audio-data-from-8MIC-RPI-MX8-and-alsa/m-p/1460287#M208</guid>
      <dc:creator>juangutierrez</dc:creator>
      <dc:date>2022-05-18T19:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: xrun issue while reading audio data from 8MIC-RPI-MX8 and alsa loopback sound card</title>
      <link>https://community.nxp.com/t5/i-MX-Solutions/xrun-issue-while-reading-audio-data-from-8MIC-RPI-MX8-and-alsa/m-p/1460378#M209</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi &amp;nbsp;juangutierrez &amp;amp; &amp;nbsp;Ohtokani,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks for update so far.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Today I tried different period size and sample rate including the default one (512 samples, 16Khz rate) with NXP AFE application and xrun issue is seen with that as well after ~45 minutes. Here is the summary of experiments. This issue is blocking our VOIP demo kit solution.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;==========================&lt;BR /&gt;Rate is: 48000[Hz]&lt;BR /&gt;Period size is: 240frames&lt;BR /&gt;Buffer size is: 960frames&lt;BR /&gt;Block size : 5ms&lt;BR /&gt;Duration: 47 sec&lt;BR /&gt;=========================&lt;BR /&gt;Rate is: 16000[Hz]&lt;BR /&gt;Period size is: 80frames&lt;BR /&gt;Buffer size is: 320frames&lt;BR /&gt;Block size : 5ms&lt;BR /&gt;Duration: 1min 23sec&lt;BR /&gt;=========================&lt;BR /&gt;Rate is: 48000[Hz]&lt;BR /&gt;Period size is: 768frames&lt;BR /&gt;Buffer size is: 3072frames&lt;BR /&gt;Block size : 16ms&lt;BR /&gt;Duration: 25 min&lt;BR /&gt;=========================&lt;BR /&gt;Rate is: 16000[Hz]&lt;BR /&gt;Period size is: 512frames&lt;BR /&gt;Buffer size is: 2048frames&lt;BR /&gt;Block size : 32ms&lt;BR /&gt;Duration: 45 min&lt;BR /&gt;=========================&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 22:22:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Solutions/xrun-issue-while-reading-audio-data-from-8MIC-RPI-MX8-and-alsa/m-p/1460378#M209</guid>
      <dc:creator>nsoni</dc:creator>
      <dc:date>2022-05-18T22:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: xrun issue while reading audio data from 8MIC-RPI-MX8 and alsa loopback sound card</title>
      <link>https://community.nxp.com/t5/i-MX-Solutions/xrun-issue-while-reading-audio-data-from-8MIC-RPI-MX8-and-alsa/m-p/1461890#M211</link>
      <description>&lt;P&gt;Tried to check if this is related to clock synchronization issue between SAI interfaces and found that imx8m-plus has hardware ASRC block from imx8m-plus reference manual.&amp;nbsp;I also inserted the&amp;nbsp;snd-soc-fsl-asrc module found in kernel modules but that did not help much. Does this driver support or updated for imx8m-plus SOC or is there any specific way to enable it once the module is inserted ?&lt;/P&gt;</description>
      <pubDate>Sat, 21 May 2022 03:00:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Solutions/xrun-issue-while-reading-audio-data-from-8MIC-RPI-MX8-and-alsa/m-p/1461890#M211</guid>
      <dc:creator>nsoni</dc:creator>
      <dc:date>2022-05-21T03:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: xrun issue while reading audio data from 8MIC-RPI-MX8 and alsa loopback sound card</title>
      <link>https://community.nxp.com/t5/i-MX-Solutions/xrun-issue-while-reading-audio-data-from-8MIC-RPI-MX8-and-alsa/m-p/1463403#M212</link>
      <description>&lt;P&gt;Hi nsoni&lt;/P&gt;
&lt;P&gt;I tried adding some changes from an internal afe repo, and I haven't seen the XRUN error running it for an hour. Here is the patch to apply those changes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 17:58:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Solutions/xrun-issue-while-reading-audio-data-from-8MIC-RPI-MX8-and-alsa/m-p/1463403#M212</guid>
      <dc:creator>Ohtokani_Pinzón</dc:creator>
      <dc:date>2022-05-24T17:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: xrun issue while reading audio data from 8MIC-RPI-MX8 and alsa loopback sound card</title>
      <link>https://community.nxp.com/t5/i-MX-Solutions/xrun-issue-while-reading-audio-data-from-8MIC-RPI-MX8-and-alsa/m-p/1463536#M213</link>
      <description>&lt;P&gt;Notice this patch is a porting from a previous version of the AFE where we tested and did not see the issue. Ohtokani created a patch that might contain unrelated changes. So this is just for speeding up things and you can test on your side and verify this also fixes the problem at your side.&lt;/P&gt;
&lt;P&gt;If so, then we can try to narrow down to see what the actual fix is.&lt;/P&gt;
&lt;P&gt;Would you verify this works on your side, please?&lt;/P&gt;
&lt;P&gt;BTW, to apply this patch you might remove the previous patch to add the support for dspc library.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 22:26:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Solutions/xrun-issue-while-reading-audio-data-from-8MIC-RPI-MX8-and-alsa/m-p/1463536#M213</guid>
      <dc:creator>juangutierrez</dc:creator>
      <dc:date>2022-05-24T22:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: xrun issue while reading audio data from 8MIC-RPI-MX8 and alsa loopback sound card</title>
      <link>https://community.nxp.com/t5/i-MX-Solutions/xrun-issue-while-reading-audio-data-from-8MIC-RPI-MX8-and-alsa/m-p/1463544#M214</link>
      <description>&lt;P&gt;Hi&amp;nbsp;juangutierrez,&lt;/P&gt;&lt;P&gt;I reset the repo, applied the patch by&amp;nbsp;Ohtokani, rebuilt the afe again. I also&amp;nbsp;made sure asound conf is updated for 240 period size. However, I still see the xrun issue within 2 minutes. Let me know if there is any missing step or you guys are also able to see it.&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 22:53:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Solutions/xrun-issue-while-reading-audio-data-from-8MIC-RPI-MX8-and-alsa/m-p/1463544#M214</guid>
      <dc:creator>nsoni</dc:creator>
      <dc:date>2022-05-24T22:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: xrun issue while reading audio data from 8MIC-RPI-MX8 and alsa loopback sound card</title>
      <link>https://community.nxp.com/t5/i-MX-Solutions/xrun-issue-while-reading-audio-data-from-8MIC-RPI-MX8-and-alsa/m-p/1463548#M215</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/128263"&gt;@nsoni&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Not sure if Ohtokani changed the asound.conf. I think you should keep the default value (I guess 512)&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/201056"&gt;@Ohtokani_Pinzón&lt;/a&gt;&amp;nbsp;can you confirm if you changed or not the asound.conf?&lt;/P&gt;
&lt;P&gt;Also, which command did you use for your testing?&lt;/P&gt;
&lt;P&gt;arecord and which parameters?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 23:38:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Solutions/xrun-issue-while-reading-audio-data-from-8MIC-RPI-MX8-and-alsa/m-p/1463548#M215</guid>
      <dc:creator>juangutierrez</dc:creator>
      <dc:date>2022-05-24T23:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: xrun issue while reading audio data from 8MIC-RPI-MX8 and alsa loopback sound card</title>
      <link>https://community.nxp.com/t5/i-MX-Solutions/xrun-issue-while-reading-audio-data-from-8MIC-RPI-MX8-and-alsa/m-p/1463557#M216</link>
      <description>&lt;P&gt;Hi nsoni&lt;/P&gt;
&lt;P&gt;I think Ohtokani shared the libdummy.so as part of the patch, would you try by replacing this pre-built libdummy.so on your filesystem (I gues at /usr/lib/).&lt;/P&gt;
&lt;P&gt;Make sure you removed or renamed the libdummy.so that comes as part of original filesystem.&lt;/P&gt;
&lt;P&gt;Maybe try by searching them with&amp;nbsp;&lt;/P&gt;
&lt;P&gt;find / -name&amp;nbsp;libdummyimpl.so*&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and make sure you are replacing both the actual library&amp;nbsp;libdummyimpl.so.1.0 and the sym link&amp;nbsp;libdummyimpl.so pointing to it&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 23:47:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Solutions/xrun-issue-while-reading-audio-data-from-8MIC-RPI-MX8-and-alsa/m-p/1463557#M216</guid>
      <dc:creator>juangutierrez</dc:creator>
      <dc:date>2022-05-24T23:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: xrun issue while reading audio data from 8MIC-RPI-MX8 and alsa loopback sound card</title>
      <link>https://community.nxp.com/t5/i-MX-Solutions/xrun-issue-while-reading-audio-data-from-8MIC-RPI-MX8-and-alsa/m-p/1463580#M217</link>
      <description>&lt;P&gt;Hi&amp;nbsp;juangutierrez,&lt;/P&gt;&lt;P&gt;I also tried replacing the&amp;nbsp;libdummyimpl.so &amp;amp;&amp;nbsp;libdummyimpl.so.1.0 at /usr/lib/nxp-afe with the ones generated after applying patch. But I can see same issue. I also tried asound conf with 512 period size and 240 size both, this also does not help.&amp;nbsp; Attached log of my steps. I open playback and capture in separate shell which is not in the log.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 01:27:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Solutions/xrun-issue-while-reading-audio-data-from-8MIC-RPI-MX8-and-alsa/m-p/1463580#M217</guid>
      <dc:creator>nsoni</dc:creator>
      <dc:date>2022-05-25T01:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: xrun issue while reading audio data from 8MIC-RPI-MX8 and alsa loopback sound card</title>
      <link>https://community.nxp.com/t5/i-MX-Solutions/xrun-issue-while-reading-audio-data-from-8MIC-RPI-MX8-and-alsa/m-p/1464098#M218</link>
      <description>&lt;P&gt;Hi nsoni&lt;/P&gt;
&lt;P&gt;Here are the binaries and the asound.conf I used, I am using Linux hardknott 5.10.35&lt;/P&gt;
&lt;P&gt;Can you share with us the asound.conf and the Linux version you are running?&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 15:34:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Solutions/xrun-issue-while-reading-audio-data-from-8MIC-RPI-MX8-and-alsa/m-p/1464098#M218</guid>
      <dc:creator>Ohtokani_Pinzón</dc:creator>
      <dc:date>2022-05-25T15:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: xrun issue while reading audio data from 8MIC-RPI-MX8 and alsa loopback sound card</title>
      <link>https://community.nxp.com/t5/i-MX-Solutions/xrun-issue-while-reading-audio-data-from-8MIC-RPI-MX8-and-alsa/m-p/1464119#M219</link>
      <description>&lt;P&gt;Hi nsoni&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Would you try with the binaries shared by Ohtokani and the asound.conf&lt;/P&gt;
&lt;P&gt;Place the asound.conf at /etc/ directory.&lt;/P&gt;
&lt;P&gt;We no longer see the xruns with those binaries.&lt;/P&gt;
&lt;P&gt;which linux version are you using, do you have any other modification?&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 16:21:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Solutions/xrun-issue-while-reading-audio-data-from-8MIC-RPI-MX8-and-alsa/m-p/1464119#M219</guid>
      <dc:creator>juangutierrez</dc:creator>
      <dc:date>2022-05-25T16:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: xrun issue while reading audio data from 8MIC-RPI-MX8 and alsa loopback sound card</title>
      <link>https://community.nxp.com/t5/i-MX-Solutions/xrun-issue-while-reading-audio-data-from-8MIC-RPI-MX8-and-alsa/m-p/1464134#M220</link>
      <description>&lt;P&gt;HI&amp;nbsp;juangutierrez,&lt;/P&gt;&lt;P&gt;I compared binaries shared by&amp;nbsp;&lt;SPAN&gt;Ohtokani&amp;nbsp;and&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;libdummyimpl.so/libdummyimpl.so.1.0 are same. I used afe binary from&amp;nbsp;Ohtokani and with that it's running for last 30 minutes without any xrun. I hope XRUN message is enabled in the binary. If so, Can you please share the afe source code with me?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;There is slight different in asound conf as well but that is in codec part as below.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;From Ohtokani :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;pcm.spk&lt;BR /&gt;{&lt;BR /&gt;type plug&lt;BR /&gt;slave.pcm "hw:wm8524audio,0"&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;From nsoni :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;pcm.spk&lt;BR /&gt;{&lt;BR /&gt;type plug&lt;BR /&gt;slave.pcm "hw:wm8960audio,0"&lt;BR /&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It seems codec is different on our board. I am using imx8m+plus EVK lpddr4 kit by the way. Anyways, I kept mine only during the experiment.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 17:47:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Solutions/xrun-issue-while-reading-audio-data-from-8MIC-RPI-MX8-and-alsa/m-p/1464134#M220</guid>
      <dc:creator>nsoni</dc:creator>
      <dc:date>2022-05-25T17:47:15Z</dc:date>
    </item>
  </channel>
</rss>

