<?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 alsa max channel in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/alsa-max-channel/m-p/1031177#M152291</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I&amp;nbsp; want to use 16 ch in imx8mm,&amp;nbsp; I use this cmd:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;aplay -Dplug:ch1 /home/forlinx/audio/001.wav&lt;/P&gt;&lt;P&gt;aplay -Dplug:ch8 /home/forlinx/audio/001.wav&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;is work ok,but when ch9-ch6(&lt;SPAN&gt;aplay -Dplug:ch1 /home/forlinx/audio/001.wav&lt;/SPAN&gt;) is error . the error is:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;aplay: ../../../alsa-lib-1.1.5/src/pcm/pcm_local.h:572: snd_pcm_channel_area_addr: Assertion `bitofs % 8 == 0' failed.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I find the the alsa source code,&amp;nbsp;Is this ch number smaller than 8?&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;unsigned int bitofs = area-&amp;gt;first + area-&amp;gt;step * offset;&lt;BR /&gt; assert(bitofs % 8 == 0);&lt;BR /&gt; return (char *) area-&amp;gt;addr + bitofs / 8;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 18 Jan 2020 16:21:23 GMT</pubDate>
    <dc:creator>14766419</dc:creator>
    <dc:date>2020-01-18T16:21:23Z</dc:date>
    <item>
      <title>alsa max channel</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/alsa-max-channel/m-p/1031177#M152291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I&amp;nbsp; want to use 16 ch in imx8mm,&amp;nbsp; I use this cmd:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;aplay -Dplug:ch1 /home/forlinx/audio/001.wav&lt;/P&gt;&lt;P&gt;aplay -Dplug:ch8 /home/forlinx/audio/001.wav&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;is work ok,but when ch9-ch6(&lt;SPAN&gt;aplay -Dplug:ch1 /home/forlinx/audio/001.wav&lt;/SPAN&gt;) is error . the error is:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;aplay: ../../../alsa-lib-1.1.5/src/pcm/pcm_local.h:572: snd_pcm_channel_area_addr: Assertion `bitofs % 8 == 0' failed.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I find the the alsa source code,&amp;nbsp;Is this ch number smaller than 8?&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;unsigned int bitofs = area-&amp;gt;first + area-&amp;gt;step * offset;&lt;BR /&gt; assert(bitofs % 8 == 0);&lt;BR /&gt; return (char *) area-&amp;gt;addr + bitofs / 8;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Jan 2020 16:21:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/alsa-max-channel/m-p/1031177#M152291</guid>
      <dc:creator>14766419</dc:creator>
      <dc:date>2020-01-18T16:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: alsa max channel</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/alsa-max-channel/m-p/1031178#M152292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Chendong,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Let us discuss the question in Chinese.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I.MX8M MINI的SAI1接口，有TX0~TX7共8根数据线，每根数据线可以传输2个channel的音频。因此，16声道是没有问题的。这一点，刚刚和i.MX Expert team确认过。但是，需要您在SAI1接口连接Audio card board with AK4458 codec才行。&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 因此，您需要确认您的硬件连接和device tree配置的codec是哪个（是否是AK4458 codec），SAI接口是否是SAI1。&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice day!&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Weidong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2020 08:03:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/alsa-max-channel/m-p/1031178#M152292</guid>
      <dc:creator>weidong_sun</dc:creator>
      <dc:date>2020-01-20T08:03:39Z</dc:date>
    </item>
    <item>
      <title>Re: alsa max channel</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/alsa-max-channel/m-p/1031179#M152293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;是的，我知道i.mx8m 是支持的，现在好像是aplay ,现在好像是alsa 应用好像最大只能支持8通道的样子，不知道是不是这样。我用的是asoud.conf&amp;nbsp; 里的dshare 功能。&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2020 14:36:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/alsa-max-channel/m-p/1031179#M152293</guid>
      <dc:creator>14766419</dc:creator>
      <dc:date>2020-01-22T14:36:45Z</dc:date>
    </item>
  </channel>
</rss>

