<?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 ProcessorsのトピックRe: iMX8QM Android Automotive OS 10 WM8960 Audio Routing</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-Android-Automotive-OS-10-WM8960-Audio-Routing/m-p/1629679#M203885</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/186248"&gt;@cbl&lt;/a&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope you are doing well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kindly Share the console logs as well as the dmesg logs to debug the issue further.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &amp;amp; Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Sanket Parekh&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 07 Apr 2023 09:18:50 GMT</pubDate>
    <dc:creator>Sanket_Parekh</dc:creator>
    <dc:date>2023-04-07T09:18:50Z</dc:date>
    <item>
      <title>iMX8QM Android Automotive OS 10 WM8960 Audio Routing</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-Android-Automotive-OS-10-WM8960-Audio-Routing/m-p/1627681#M203710</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;By modifying the wm8960_config.json file as follows MUSIC_CONTEXT, NAVIGATION_CONTEXT, VOICE_COMMAND_CONTEXT, CALL_RING_CONTEXT, CALL_CONTEXT&lt;BR /&gt;I was able to route their sounds to the wm8960 sound card and I could hear these sounds with headphones on the jack on my iMX8QM EVK board.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
  "driver_name": "wm8960-audio",
  "bus_name": "bus0_media_out",
  "supported_out_devices": ["speaker", "wired_headphone", "wired_headset", "bus"],
  "supported_in_devices": ["wired_headset"],

  "init_ctl": [
    {"name": "Left Output Mixer PCM Playback Switch", "type": "int", "val": 1},
    {"name": "Right Output Mixer PCM Playback Switch", "type": "int", "val": 1},
    {"name": "Playback Volume", "type": "int", "val": 230},
    {"name": "Speaker Playback Volume", "type": "int", "val": 120},
    {"name": "Headphone Playback Volume", "type": "int", "val": 120}
  ],

  "headset_mic_ctl": [
    {"name": "ALC Function", "type": "int", "val": 3},
    {"name": "Left Input Mixer Boost Switch", "type": "int", "val": 1},
    {"name": "ADC PCM Capture Volume", "type": "int", "val": 230},
    {"name": "Capture Volume", "type": "int", "val": 60}
  ],

  "out_volume_ctl": [
    "Playback Volume"
  ]
}&lt;/LI-CODE&gt;&lt;P&gt;However, I want to route ALARM_CONTEXT, NOTIFICATION_CONTEXT, SYSTEM_SOUND_CONTEXT to the wm8960 sound card.&lt;/P&gt;&lt;P&gt;To do this, I updated the elements of the array in the AudioControl.cpp source file. I built my Image.&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;static int sContextToBusMap[] = {
    -1,     // INVALID
     0,     // MUSIC_CONTEXT
     0,     // NAVIGATION_CONTEXT
     0,     // VOICE_COMMAND_CONTEXT
     0,     // CALL_RING_CONTEXT
     0,     // CALL_CONTEXT
     0,     // ALARM_CONTEXT
     0,     // NOTIFICATION_CONTEXT
     0,     // SYSTEM_SOUND_CONTEXT
};&lt;/LI-CODE&gt;&lt;P&gt;However, after Image stood up, it was shut down with the message "Shutting Down".&lt;/P&gt;&lt;P&gt;What steps do I need to follow to route ALARM_CONTEXT, NOTIFICATION_CONTEXT, SYSTEM_SOUND_CONTEXT to my wm8960 sound card?&lt;/P&gt;&lt;P&gt;Could you please help me with this issue?&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Efecan&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2023 12:39:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-Android-Automotive-OS-10-WM8960-Audio-Routing/m-p/1627681#M203710</guid>
      <dc:creator>cbl</dc:creator>
      <dc:date>2023-04-04T12:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8QM Android Automotive OS 10 WM8960 Audio Routing</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-Android-Automotive-OS-10-WM8960-Audio-Routing/m-p/1629679#M203885</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/186248"&gt;@cbl&lt;/a&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope you are doing well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kindly Share the console logs as well as the dmesg logs to debug the issue further.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &amp;amp; Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Sanket Parekh&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2023 09:18:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-Android-Automotive-OS-10-WM8960-Audio-Routing/m-p/1629679#M203885</guid>
      <dc:creator>Sanket_Parekh</dc:creator>
      <dc:date>2023-04-07T09:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8QM Android Automotive OS 10 WM8960 Audio Routing</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-Android-Automotive-OS-10-WM8960-Audio-Routing/m-p/1631062#M203990</link>
      <description>&lt;P&gt;Hello &lt;SPAN class="ql-chatter-mention quill_widget_element" contenteditable="false" data-widget="chatterMention" data-mention="0052p00000CmSvUAAV"&gt;@[Efecan Cebel]&lt;/SPAN&gt;​&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope you are doing well.&lt;/P&gt;
&lt;P&gt;Any Updates from your side?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;
&lt;P&gt;Sanket Parekh&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2023 07:37:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-Android-Automotive-OS-10-WM8960-Audio-Routing/m-p/1631062#M203990</guid>
      <dc:creator>Sanket_Parekh</dc:creator>
      <dc:date>2023-04-11T07:37:02Z</dc:date>
    </item>
  </channel>
</rss>

