<?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: i.mx6q android 2 x hdmi audio problem</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-mx6q-android-2-x-hdmi-audio-problem/m-p/247267#M21773</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Alejandro Sierra Guiza&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thank you for your acvtive reply,In &lt;SPAN class="hps"&gt;the default&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;configuration&lt;/SPAN&gt; ,spdif&amp;nbsp; audio &lt;SPAN class="hps"&gt;has been configured in arch/arm/plat-mxc/devices/platform-imx-spdif-dai.c . my android &lt;SPAN class="hps"&gt;patch r13.4 ,in android hal ,I add Support spdif audio ,but hmdi audio output only spdif audio,Could you tell me what should&lt;SPAN class="hps"&gt; I&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;do to make&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;dual&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;HDMI&lt;/SPAN&gt;&amp;nbsp; &lt;SPAN class="hps"&gt;output sound ? Thanks again&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 14 Apr 2013 03:12:15 GMT</pubDate>
    <dc:creator>bingking88</dc:creator>
    <dc:date>2013-04-14T03:12:15Z</dc:date>
    <item>
      <title>i.mx6q android 2 x hdmi audio problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx6q-android-2-x-hdmi-audio-problem/m-p/247265#M21771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="text-indent: 0px; color: #000000;"&gt;&lt;SPAN lang="en"&gt;I have 2&lt;SPAN class="Apple-converted-space"&gt; &lt;/SPAN&gt;&lt;SPAN class="hps"&gt;hdmi&lt;/SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt; &lt;/SPAN&gt;&lt;SPAN class="hps"&gt;output in&lt;/SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt; &lt;/SPAN&gt;&lt;SPAN class="hps"&gt;android&lt;/SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt; &lt;/SPAN&gt;&lt;SPAN class="hps"&gt;system&lt;/SPAN&gt;,&lt;SPAN class="Apple-converted-space"&gt; &lt;/SPAN&gt;&lt;SPAN class="hps"&gt;but the&lt;/SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt; &lt;/SPAN&gt;&lt;SPAN class="hps"&gt;only&lt;/SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt; &lt;/SPAN&gt;&lt;SPAN class="hps"&gt;way&lt;/SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt; &lt;/SPAN&gt;&lt;SPAN class="hps"&gt;hdmi&lt;/SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt; &lt;/SPAN&gt;&lt;SPAN class="hps"&gt;sound output&lt;/SPAN&gt;,&lt;SPAN class="Apple-converted-space"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-indent: 0px; color: #000000;"&gt;&lt;SPAN lang="en"&gt;ssi902x ---&amp;gt; mxc-spdif-0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-indent: 0px; color: #000000;"&gt;&lt;SPAN lang="en"&gt;mxc-hdmi -----&amp;gt; mxc-hdmi-soc-0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-indent: 0px; color: #000000;"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;how&lt;/SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt; &lt;/SPAN&gt;&lt;SPAN class="hps"&gt;to configure&lt;/SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt; &lt;/SPAN&gt;&lt;SPAN class="hps"&gt;so&lt;/SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt; &lt;/SPAN&gt;&lt;SPAN class="hps"&gt;that&lt;/SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt; &lt;/SPAN&gt;&lt;SPAN class="hps"&gt;two&lt;/SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt; &lt;/SPAN&gt;&lt;SPAN class="hps"&gt;hdmi&lt;/SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt; &lt;/SPAN&gt;&lt;SPAN class="hps"&gt;has&lt;/SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt; &lt;/SPAN&gt;&lt;SPAN class="hps"&gt;sound output&lt;/SPAN&gt;.thanks!:smileyplain:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-indent: 0px; color: #000000;"&gt;&lt;SPAN lang="en"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P style="text-indent: 0px; color: #000000;"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;my&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;hardware&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;audio&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;equipment&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="text-indent: 0px; color: #000000;"&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:root@android:/"&gt;root@android:/&lt;/A&gt;&lt;SPAN class="Apple-converted-space"&gt; &lt;/SPAN&gt;# alsa_aplay -l&lt;/P&gt;&lt;P style="text-indent: 0px; color: #000000;"&gt;**** List of PLAYBACK Hardware Devices ****&lt;/P&gt;&lt;P style="text-indent: 0px; color: #000000;"&gt;card 0: sgtl5000audio [sgtl5000-audio], device 0: HiFi sgtl5000-0 []&lt;/P&gt;&lt;P style="text-indent: 0px; color: #000000;"&gt;Subdevices: 1/1&lt;/P&gt;&lt;P style="text-indent: 0px; color: #000000;"&gt;Subdevice #0: subdevice #0&lt;/P&gt;&lt;P style="text-indent: 0px; color: #000000;"&gt;card 1: imxspdif [imx-spdif], device 0: IMX SPDIF mxc-spdif-0 []&lt;/P&gt;&lt;P style="text-indent: 0px; color: #000000;"&gt;Subdevices: 1/1&lt;/P&gt;&lt;P style="text-indent: 0px; color: #000000;"&gt;Subdevice #0: subdevice #0&lt;/P&gt;&lt;P style="text-indent: 0px; color: #000000;"&gt;card 2: imxhdmisoc [imx-hdmi-soc], device 0: IMX HDMI TX mxc-hdmi-soc-0 []&lt;/P&gt;&lt;P style="text-indent: 0px; color: #000000;"&gt;Subdevices: 1/1&lt;/P&gt;&lt;P style="text-indent: 0px; color: #000000;"&gt;Subdevice #0: subdevice #0&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Apr 2013 03:30:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx6q-android-2-x-hdmi-audio-problem/m-p/247265#M21771</guid>
      <dc:creator>bingking88</dc:creator>
      <dc:date>2013-04-01T03:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: i.mx6q android 2 x hdmi audio problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx6q-android-2-x-hdmi-audio-problem/m-p/247266#M21772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to register another imx-hdmi-soc-dai.&lt;/P&gt;&lt;P&gt;Take the HDMI 0 as a base. &lt;/P&gt;&lt;P&gt;This file arch/arm/plat-mxc/devices/platform-imx-hdmi-soc-dai.c registers HDMI-SOC-0.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Apr 2013 18:01:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx6q-android-2-x-hdmi-audio-problem/m-p/247266#M21772</guid>
      <dc:creator>AlejandroSierra</dc:creator>
      <dc:date>2013-04-12T18:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: i.mx6q android 2 x hdmi audio problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx6q-android-2-x-hdmi-audio-problem/m-p/247267#M21773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Alejandro Sierra Guiza&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thank you for your acvtive reply,In &lt;SPAN class="hps"&gt;the default&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;configuration&lt;/SPAN&gt; ,spdif&amp;nbsp; audio &lt;SPAN class="hps"&gt;has been configured in arch/arm/plat-mxc/devices/platform-imx-spdif-dai.c . my android &lt;SPAN class="hps"&gt;patch r13.4 ,in android hal ,I add Support spdif audio ,but hmdi audio output only spdif audio,Could you tell me what should&lt;SPAN class="hps"&gt; I&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;do to make&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;dual&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;HDMI&lt;/SPAN&gt;&amp;nbsp; &lt;SPAN class="hps"&gt;output sound ? Thanks again&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Apr 2013 03:12:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx6q-android-2-x-hdmi-audio-problem/m-p/247267#M21773</guid>
      <dc:creator>bingking88</dc:creator>
      <dc:date>2013-04-14T03:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: i.mx6q android 2 x hdmi audio problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx6q-android-2-x-hdmi-audio-problem/m-p/247268#M21774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If what you are trying to do is to render the same audio trough both hdmi and spdif at same time. You can add something like this in your /system/etc/asound.conf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;================ /system/etc/asound.conf ====================&lt;/P&gt;&lt;P&gt;pcm.both {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # change name "pcm.both" for pcm.!default to make it the default configuration&lt;/P&gt;&lt;P&gt;&amp;nbsp; type plug;&lt;/P&gt;&lt;P&gt;&amp;nbsp; slave.pcm {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; type multi;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; slaves.a.pcm "hw:0,0";&amp;nbsp;&amp;nbsp; #in your case hw:1,0 for spdif (card1, dev 0)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; slaves.b.pcm "hw:2,0";&amp;nbsp;&amp;nbsp; # hdmi card 2, dev 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; slaves.a.channels 2;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # this is for stereo, you can set 4, 6, or 8 channels spdif&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; slaves.b.channels 2;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # this is for stereo, you can set 4, 6, or 8 channels spdif&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bindings.0.slave a;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # binding channels to slave a, Add bindings if you add channels&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bindings.0.channel 0;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bindings.1.slave a;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bindings.1.channel 1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bindings.2.slave b;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # binding channels to slave a. Add bindings if you add channels&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bindings.2.channel 0;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bindings.3.slave b;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bindings.3.channel 1;&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; ttable.0.0 1;&lt;/P&gt;&lt;P&gt;&amp;nbsp; ttable.1.1 1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; ttable.0.2 1;&lt;/P&gt;&lt;P&gt;&amp;nbsp; ttable.1.3 1;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;=====================================================&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The you can play audio with alsa like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aplay -Dboth file.wav&amp;nbsp;&amp;nbsp; (I think in android is alsa_aplay)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you replace the pcm.both name with pcm.!default then the command is just like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aplay file.wav&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tested this using cs42888 in card0 and hdmi as card2 and I was able to hear same audio in my headphones and in the hdmi monitor at same time. Also I did it in a Gnome FS, not Android but I guess should be similar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Apr 2013 17:56:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx6q-android-2-x-hdmi-audio-problem/m-p/247268#M21774</guid>
      <dc:creator>juangutierrez</dc:creator>
      <dc:date>2013-04-16T17:56:02Z</dc:date>
    </item>
  </channel>
</rss>

