<?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 Re: iMX6 android audio control flow in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/iMX6-android-audio-control-flow/m-p/636489#M96918</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;SPAN style="color: #000000; border: 0px; font-weight: inherit;"&gt;Aravinth&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="border: 0px; font-weight: inherit; text-decoration: underline;"&gt;&lt;EM style="color: #000000; border: 0px; font-weight: inherit; text-decoration: underline;"&gt;Audio Volume is controlled by software&lt;/EM&gt;&lt;/SPAN&gt;, here software is android top level( audio policy ), not app, not tinyalsa.&lt;/P&gt;&lt;P&gt;if you hope the value of register can be changed, Volume controlling data should be delivered to audio codec driver by tinyalsa, because alsa API can communicate with codec driver.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; So Volume's increasing or decreasing is controlled by android audio level, in which there exists audio &lt;SPAN&gt;algorithm&lt;/SPAN&gt; for volume.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Weidong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Oct 2016 03:15:19 GMT</pubDate>
    <dc:creator>weidong_sun</dc:creator>
    <dc:date>2016-10-19T03:15:19Z</dc:date>
    <item>
      <title>iMX6 android audio control flow</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6-android-audio-control-flow/m-p/636486#M96915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I'm using Android 6.0, when i change volume through UI, it is happening(volume decrease and increase happen) output also working fine.&lt;/P&gt;&lt;P&gt;If i read the &lt;STRONG&gt;volume register&lt;/STRONG&gt; i will get default value only. &amp;nbsp; If i increase or decrease the volume output volume changing. but in register level no change. How it is happening.?&lt;/P&gt;&lt;P&gt;What is the Audio control flow from Android to driver. ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aravinth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2016 11:47:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6-android-audio-control-flow/m-p/636486#M96915</guid>
      <dc:creator>aravinthkumarja</dc:creator>
      <dc:date>2016-10-14T11:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: iMX6 android audio control flow</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6-android-audio-control-flow/m-p/636487#M96916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" data-content-finding="Community" data-userid="253791" data-username="aravinthkumarjayaprakasam" href="https://community.nxp.com/people/aravinthkumarjayaprakasam"&gt;aravinthkumar&lt;/A&gt;，&lt;/P&gt;&lt;P&gt;See following, please!&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; If i read the &lt;STRONG&gt;volume register&lt;/STRONG&gt; i will get default value only. &amp;nbsp; If i increase or decrease the volume output volume changing. but in register level no change. &lt;STRONG&gt;How it is happening.?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[A]&lt;/STRONG&gt; On android top, Audio Volume is controlled by software, not trough Tinyalsa, so when increasing / decreasing volume, the value of register will not be changed.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2. What is the Audio control flow from Android to driver. ?&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Due to Tinyalsa not contolling volume, alsa API can't deliver volume data to audio codec driver, so if you want to change the default architecture，a lot of work will have to be done.&lt;/P&gt;&lt;P&gt;(1) Understanding Android AudioPolicy from top to bottom&lt;/P&gt;&lt;P&gt;(2) Adding source code(Using alsa-lib API) to adjust volume.&lt;/P&gt;&lt;P&gt;ALSA API will deliver volume data to codec driver, then value of register will be set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope above information is helpful for you!&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Weidong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 04:28:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6-android-audio-control-flow/m-p/636487#M96916</guid>
      <dc:creator>weidong_sun</dc:creator>
      <dc:date>2016-10-18T04:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: iMX6 android audio control flow</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6-android-audio-control-flow/m-p/636488#M96917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #000000; background-color: #ffffff; border: 0px;"&gt;Hi &lt;A _jive_internal="true" class="" data-containerid="-1" data-containertype="-1" data-content-finding="Community" data-objectid="201499" data-objecttype="3" href="https://community.nxp.com/people/weidong.sun" style="color: #266fc8; background-color: transparent; border: 0px; font-weight: inherit; padding: 1px 0px 1px calc(12px + 0.35ex);"&gt;Wigros Sun&lt;/A&gt;,&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; border: 0px;"&gt;1.&amp;nbsp; If i read the &lt;SPAN style="border: 0px; font-weight: bold;"&gt;&lt;STRONG style="border: 0px; font-weight: bold;"&gt;volume register&lt;/STRONG&gt;&lt;/SPAN&gt; i will get default value only. &amp;nbsp; If i increase or decrease the volume output volume changing. but in register level no change. &lt;SPAN style="border: 0px; font-weight: bold;"&gt;&lt;STRONG style="border: 0px; font-weight: bold;"&gt;How it is happening.?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: bold;"&gt;&lt;STRONG style="border: 0px; font-weight: bold;"&gt;[A]&lt;/STRONG&gt;&lt;/SPAN&gt; On android top, &lt;SPAN style="border: 0px; font-weight: inherit; text-decoration: underline;"&gt;&lt;EM style="color: #000000; border: 0px; font-weight: inherit; text-decoration: underline;"&gt;Audio Volume is controlled by software&lt;/EM&gt;&lt;/SPAN&gt;, not trough Tinyalsa, so when increasing / decreasing volume, the value of register will not be changed.&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; border: 0px;"&gt;&lt;STRONG style="border: 0px; font-weight: bold;"&gt;[Q]&amp;nbsp;&lt;/STRONG&gt;If volume controlled by any software also finally the value should&amp;nbsp;write into codec volume register right?&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #000000; border: 0px; font-weight: inherit;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #000000; border: 0px; font-weight: inherit;"&gt;Aravinth&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 07:44:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6-android-audio-control-flow/m-p/636488#M96917</guid>
      <dc:creator>aravinthkumarja</dc:creator>
      <dc:date>2016-10-18T07:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: iMX6 android audio control flow</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6-android-audio-control-flow/m-p/636489#M96918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;SPAN style="color: #000000; border: 0px; font-weight: inherit;"&gt;Aravinth&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="border: 0px; font-weight: inherit; text-decoration: underline;"&gt;&lt;EM style="color: #000000; border: 0px; font-weight: inherit; text-decoration: underline;"&gt;Audio Volume is controlled by software&lt;/EM&gt;&lt;/SPAN&gt;, here software is android top level( audio policy ), not app, not tinyalsa.&lt;/P&gt;&lt;P&gt;if you hope the value of register can be changed, Volume controlling data should be delivered to audio codec driver by tinyalsa, because alsa API can communicate with codec driver.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; So Volume's increasing or decreasing is controlled by android audio level, in which there exists audio &lt;SPAN&gt;algorithm&lt;/SPAN&gt; for volume.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Weidong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2016 03:15:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6-android-audio-control-flow/m-p/636489#M96918</guid>
      <dc:creator>weidong_sun</dc:creator>
      <dc:date>2016-10-19T03:15:19Z</dc:date>
    </item>
  </channel>
</rss>

