<?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: iMX8QM Android Automotive OS 10 Bluetooth Speaker Audio Problem in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-Android-Automotive-OS-10-Bluetooth-Speaker-Audio-Problem/m-p/1631303#M204016</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/186248"&gt;@cbl&lt;/a&gt;,&lt;/P&gt;
&lt;DIV&gt;I hope you are doing well.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;The mentioned file and the APIs can be used to select the input device and output device from the HAL layer.&lt;/DIV&gt;
&lt;DIV&gt;To control the various path switches inside the codec from the driver, kindly take the reference to the below link.&lt;/DIV&gt;
&lt;DIV&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/WM8960-audio-codec/ta-p/1119101" target="_blank" rel="noopener" data-saferedirecturl="https://www.google.com/url?q=https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/WM8960-audio-codec/ta-p/1119101&amp;amp;source=gmail&amp;amp;ust=1681295881534000&amp;amp;usg=AOvVaw2ka6FqEa0AuTjsfVTES6yl"&gt;https://community.nxp.com/t5/&lt;WBR /&gt;i-MX-Processors-Knowledge-&lt;WBR /&gt;Base/WM8960-audio-codec/ta-p/&lt;WBR /&gt;1119101&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Dhruvit Vasavada&lt;/DIV&gt;</description>
    <pubDate>Tue, 11 Apr 2023 11:37:58 GMT</pubDate>
    <dc:creator>Dhruvit</dc:creator>
    <dc:date>2023-04-11T11:37:58Z</dc:date>
    <item>
      <title>iMX8QM Android Automotive OS 10 Bluetooth Speaker Audio Problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-Android-Automotive-OS-10-Bluetooth-Speaker-Audio-Problem/m-p/1624117#M203406</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I compiled Android Automotive OS 10_2.4.0 for iMX8QM EVK.&lt;/P&gt;&lt;P&gt;I connected my bluetooth speaker to the system.&lt;/P&gt;&lt;P&gt;But I can't get an audio output from my Bluetooth speaker.&lt;/P&gt;&lt;P&gt;What kind of updates do I need to make in the source package for this.&lt;/P&gt;&lt;P&gt;Could you help me with this issue?&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Efecan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2023 10:11:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-Android-Automotive-OS-10-Bluetooth-Speaker-Audio-Problem/m-p/1624117#M203406</guid>
      <dc:creator>cbl</dc:creator>
      <dc:date>2023-03-29T10:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8QM Android Automotive OS 10 Bluetooth Speaker Audio Problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-Android-Automotive-OS-10-Bluetooth-Speaker-Audio-Problem/m-p/1626048#M203547</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/186248"&gt;@cbl&lt;/a&gt;,&lt;/P&gt;
&lt;DIV&gt;I hope you are doing well&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Are you able to get the audio from a wired device i.e audio jack?&lt;/DIV&gt;
&lt;DIV&gt;It seems that the issue is related to audio routing. Please refer to section&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;8.2.1 Routing audio stream to different sound cards&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;from the Android ™ User's Guide.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thanks &amp;amp; Regards,&lt;/DIV&gt;
&lt;DIV&gt;Dhruvit Vasavada&lt;/DIV&gt;</description>
      <pubDate>Fri, 31 Mar 2023 11:40:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-Android-Automotive-OS-10-Bluetooth-Speaker-Audio-Problem/m-p/1626048#M203547</guid>
      <dc:creator>Dhruvit</dc:creator>
      <dc:date>2023-03-31T11:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8QM Android Automotive OS 10 Bluetooth Speaker Audio Problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-Android-Automotive-OS-10-Bluetooth-Speaker-Audio-Problem/m-p/1626054#M203548</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/201299"&gt;@Dhruvit&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thank you very much. I'm fine. I hope you are well.&lt;/P&gt;&lt;P&gt;I can only receive Alarm and Notification sounds through the jack with wired headphones.&lt;/P&gt;&lt;P&gt;Actually, that's exactly what I want to do. So I want to route all audio to audio jack.&lt;/P&gt;&lt;P&gt;For this, I looked at the section 8.2.1 Routing audio stream to different sound cards in the Android User Guide, but I was not successful.&lt;/P&gt;&lt;P&gt;I'm listing the steps I followed below.&lt;/P&gt;&lt;P&gt;1) I made changes to the AudioControl.cpp file as it says in the docs. The change I made is as follows.&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;static int sContextToBusMap[] = {
    -1,     // INVALID
     0,     // MUSIC_CONTEXT
     1,     // NAVIGATION_CONTEXT
     1,     // VOICE_COMMAND_CONTEXT
     1,     // CALL_RING_CONTEXT
     1,     // CALL_CONTEXT
     1,     // ALARM_CONTEXT
     1,     // NOTIFICATION_CONTEXT
     1,     // SYSTEM_SOUND_CONTEXT
};&lt;/LI-CODE&gt;&lt;P&gt;I made this change and compiled Android. I flashed the image to my EVK board, but after booting, Android closed by saying "Shutting Down".&lt;/P&gt;&lt;P&gt;Can you tell me where I am wrong?&lt;/P&gt;&lt;P&gt;Which files should I change for the audio routing process?&lt;/P&gt;&lt;P&gt;Do you have a chance to guide me through the steps to be implemented?&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Efecan Cebel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Mar 2023 11:53:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-Android-Automotive-OS-10-Bluetooth-Speaker-Audio-Problem/m-p/1626054#M203548</guid>
      <dc:creator>cbl</dc:creator>
      <dc:date>2023-03-31T11:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8QM Android Automotive OS 10 Bluetooth Speaker Audio Problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-Android-Automotive-OS-10-Bluetooth-Speaker-Audio-Problem/m-p/1627719#M203719</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/186248"&gt;@cbl&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I hope you are doing well&lt;/P&gt;
&lt;DIV&gt;One can modify audio routing from an audio-hal layer. To select the audio path, kindly refer to the below code.&lt;/DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;hardware/imx/alsa/tinyalsa_&lt;/STRONG&gt;&lt;STRONG&gt;hal&lt;WBR /&gt;.c.&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV&gt;One can select any of the output streams one wants.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;P&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Dhruvit Vasavada&lt;/P&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2023 13:48:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-Android-Automotive-OS-10-Bluetooth-Speaker-Audio-Problem/m-p/1627719#M203719</guid>
      <dc:creator>Dhruvit</dc:creator>
      <dc:date>2023-04-04T13:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8QM Android Automotive OS 10 Bluetooth Speaker Audio Problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-Android-Automotive-OS-10-Bluetooth-Speaker-Audio-Problem/m-p/1627722#M203720</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/201299"&gt;@Dhruvit&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Where should I change in tinyalsa_hal.cpp to route all audio outputs to wm8960? can you help with this?&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Efecan&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2023 13:52:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-Android-Automotive-OS-10-Bluetooth-Speaker-Audio-Problem/m-p/1627722#M203720</guid>
      <dc:creator>cbl</dc:creator>
      <dc:date>2023-04-04T13:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8QM Android Automotive OS 10 Bluetooth Speaker Audio Problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-Android-Automotive-OS-10-Bluetooth-Speaker-Audio-Problem/m-p/1628318#M203771</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/186248"&gt;@cbl&lt;/a&gt;,&lt;/P&gt;
&lt;DIV&gt;I hope you are doing well&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Please find the&amp;nbsp;&lt;STRONG&gt;select_mode()&lt;/STRONG&gt;&amp;nbsp;and&amp;nbsp;&lt;STRONG&gt;select_&lt;WBR /&gt;output_device()&amp;nbsp;&lt;/STRONG&gt;functions given in&amp;nbsp;&lt;U&gt;tinyalsa_hal.cpp&lt;/U&gt;&amp;nbsp;for routing the audio.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thanks &amp;amp; Regards,&lt;/DIV&gt;
&lt;DIV&gt;Dhruvit Vasavada&lt;/DIV&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 14:01:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-Android-Automotive-OS-10-Bluetooth-Speaker-Audio-Problem/m-p/1628318#M203771</guid>
      <dc:creator>Dhruvit</dc:creator>
      <dc:date>2023-04-05T14:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8QM Android Automotive OS 10 Bluetooth Speaker Audio Problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-Android-Automotive-OS-10-Bluetooth-Speaker-Audio-Problem/m-p/1628321#M203772</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/201299"&gt;@Dhruvit&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thank you very much for your return.&lt;/P&gt;&lt;P&gt;But I don't know how to route all sound to wm8960 sound card in select_input_device() and select_mode() functions.&lt;/P&gt;&lt;P&gt;Can you support me on this?&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Efecan&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 14:06:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-Android-Automotive-OS-10-Bluetooth-Speaker-Audio-Problem/m-p/1628321#M203772</guid>
      <dc:creator>cbl</dc:creator>
      <dc:date>2023-04-05T14:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8QM Android Automotive OS 10 Bluetooth Speaker Audio Problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-Android-Automotive-OS-10-Bluetooth-Speaker-Audio-Problem/m-p/1631303#M204016</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/186248"&gt;@cbl&lt;/a&gt;,&lt;/P&gt;
&lt;DIV&gt;I hope you are doing well.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;The mentioned file and the APIs can be used to select the input device and output device from the HAL layer.&lt;/DIV&gt;
&lt;DIV&gt;To control the various path switches inside the codec from the driver, kindly take the reference to the below link.&lt;/DIV&gt;
&lt;DIV&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/WM8960-audio-codec/ta-p/1119101" target="_blank" rel="noopener" data-saferedirecturl="https://www.google.com/url?q=https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/WM8960-audio-codec/ta-p/1119101&amp;amp;source=gmail&amp;amp;ust=1681295881534000&amp;amp;usg=AOvVaw2ka6FqEa0AuTjsfVTES6yl"&gt;https://community.nxp.com/t5/&lt;WBR /&gt;i-MX-Processors-Knowledge-&lt;WBR /&gt;Base/WM8960-audio-codec/ta-p/&lt;WBR /&gt;1119101&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Dhruvit Vasavada&lt;/DIV&gt;</description>
      <pubDate>Tue, 11 Apr 2023 11:37:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-Android-Automotive-OS-10-Bluetooth-Speaker-Audio-Problem/m-p/1631303#M204016</guid>
      <dc:creator>Dhruvit</dc:creator>
      <dc:date>2023-04-11T11:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8QM Android Automotive OS 10 Bluetooth Speaker Audio Problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-Android-Automotive-OS-10-Bluetooth-Speaker-Audio-Problem/m-p/1632146#M204084</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/201299"&gt;@Dhruvit&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thank you for support.&lt;/P&gt;&lt;P&gt;I will take a look at this document.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Efecan&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2023 12:51:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-Android-Automotive-OS-10-Bluetooth-Speaker-Audio-Problem/m-p/1632146#M204084</guid>
      <dc:creator>cbl</dc:creator>
      <dc:date>2023-04-12T12:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8QM Android Automotive OS 10 Bluetooth Speaker Audio Problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-Android-Automotive-OS-10-Bluetooth-Speaker-Audio-Problem/m-p/1641648#M204977</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/186248"&gt;@cbl&lt;/a&gt;,&lt;/P&gt;
&lt;DIV&gt;I hope you are doing well&lt;/DIV&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;DIV&gt;Are there any updates on this case?&lt;/DIV&gt;
&lt;DIV&gt;If the issue is resolved should we close the thread?&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thanks &amp;amp; Regards,&lt;/DIV&gt;
&lt;DIV&gt;Dhruvit Vasavada&lt;/DIV&gt;</description>
      <pubDate>Thu, 27 Apr 2023 14:29:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-Android-Automotive-OS-10-Bluetooth-Speaker-Audio-Problem/m-p/1641648#M204977</guid>
      <dc:creator>Dhruvit</dc:creator>
      <dc:date>2023-04-27T14:29:46Z</dc:date>
    </item>
  </channel>
</rss>

