<?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 Not able to play two different sampled audio simultaneously using two different devices using cs42888-audio in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Not-able-to-play-two-different-sampled-audio-simultaneously/m-p/476285#M75579</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;​I am using yocto build setup and trying to play audio using inbuilt audio card cs42888-audio. Doing aplay -l list the capability of audio cards as below:&lt;/P&gt;&lt;P&gt;root@imx6qsabreauto:~# aplay -l &lt;/P&gt;&lt;P&gt;**** List of PLAYBACK Hardware Devices **** &lt;/P&gt;&lt;P&gt;card 0: cs42888audio [cs42888-audio], device 0: HiFi cs42888-0 [] &lt;/P&gt;&lt;P&gt;&amp;nbsp; Subdevices: 1/1 &lt;/P&gt;&lt;P&gt;&amp;nbsp; Subdevice #0: subdevice #0 &lt;/P&gt;&lt;P&gt;card 0: cs42888audio [cs42888-audio], device 1: HiFi-ASRC-FE (*) [] &lt;/P&gt;&lt;P&gt;&amp;nbsp; Subdevices: 1/1 &lt;/P&gt;&lt;P&gt;&amp;nbsp; Subdevice #0: subdevice #0 &lt;/P&gt;&lt;P&gt;card 2: imxhdmisoc [imx-hdmi-soc], device 0: i.MX HDMI Audio Tx hdmi-hifi-0 [] &lt;/P&gt;&lt;P&gt;&amp;nbsp; Subdevices: 1/1 &lt;/P&gt;&lt;P&gt;&amp;nbsp; Subdevice #0: subdevice #0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As it is clear that card 0 have two audio devices 0 and 1. I want to play 48khz stereo audio through hw:0,0 and 16khz mono audio through hw:0,1. But they are not playing in parallel.&lt;/P&gt;&lt;P&gt;The problem is that if i am playing any one of two audio and start playing second audio; first audio stops playing and 2nd audio starts. But I expect mixed audio to be heard.&lt;/P&gt;&lt;P&gt;I tried changing asound.conf file (used dmix and plug alsa plugin) and added virtual device with desired configuration but parallel playback failed. Though, I am able to play two audio through same device in parallel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Mar 2016 14:49:02 GMT</pubDate>
    <dc:creator>harekrishnaroy</dc:creator>
    <dc:date>2016-03-14T14:49:02Z</dc:date>
    <item>
      <title>Not able to play two different sampled audio simultaneously using two different devices using cs42888-audio</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Not-able-to-play-two-different-sampled-audio-simultaneously/m-p/476285#M75579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;​I am using yocto build setup and trying to play audio using inbuilt audio card cs42888-audio. Doing aplay -l list the capability of audio cards as below:&lt;/P&gt;&lt;P&gt;root@imx6qsabreauto:~# aplay -l &lt;/P&gt;&lt;P&gt;**** List of PLAYBACK Hardware Devices **** &lt;/P&gt;&lt;P&gt;card 0: cs42888audio [cs42888-audio], device 0: HiFi cs42888-0 [] &lt;/P&gt;&lt;P&gt;&amp;nbsp; Subdevices: 1/1 &lt;/P&gt;&lt;P&gt;&amp;nbsp; Subdevice #0: subdevice #0 &lt;/P&gt;&lt;P&gt;card 0: cs42888audio [cs42888-audio], device 1: HiFi-ASRC-FE (*) [] &lt;/P&gt;&lt;P&gt;&amp;nbsp; Subdevices: 1/1 &lt;/P&gt;&lt;P&gt;&amp;nbsp; Subdevice #0: subdevice #0 &lt;/P&gt;&lt;P&gt;card 2: imxhdmisoc [imx-hdmi-soc], device 0: i.MX HDMI Audio Tx hdmi-hifi-0 [] &lt;/P&gt;&lt;P&gt;&amp;nbsp; Subdevices: 1/1 &lt;/P&gt;&lt;P&gt;&amp;nbsp; Subdevice #0: subdevice #0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As it is clear that card 0 have two audio devices 0 and 1. I want to play 48khz stereo audio through hw:0,0 and 16khz mono audio through hw:0,1. But they are not playing in parallel.&lt;/P&gt;&lt;P&gt;The problem is that if i am playing any one of two audio and start playing second audio; first audio stops playing and 2nd audio starts. But I expect mixed audio to be heard.&lt;/P&gt;&lt;P&gt;I tried changing asound.conf file (used dmix and plug alsa plugin) and added virtual device with desired configuration but parallel playback failed. Though, I am able to play two audio through same device in parallel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 14:49:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Not-able-to-play-two-different-sampled-audio-simultaneously/m-p/476285#M75579</guid>
      <dc:creator>harekrishnaroy</dc:creator>
      <dc:date>2016-03-14T14:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to play two different sampled audio simultaneously using two different devices using cs42888-audio</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Not-able-to-play-two-different-sampled-audio-simultaneously/m-p/476286#M75580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hare&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;seems this is not possible as cs42888 has one clock (frame and bit) for&lt;/P&gt;&lt;P&gt;all channels.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 01:47:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Not-able-to-play-two-different-sampled-audio-simultaneously/m-p/476286#M75580</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-03-15T01:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to play two different sampled audio simultaneously using two different devices using cs42888-audio</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Not-able-to-play-two-different-sampled-audio-simultaneously/m-p/476287#M75581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi igor,&lt;/P&gt;&lt;P&gt;Can you explain your assumption?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 06:51:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Not-able-to-play-two-different-sampled-audio-simultaneously/m-p/476287#M75581</guid>
      <dc:creator>abhishekkumar1</dc:creator>
      <dc:date>2016-03-15T06:51:07Z</dc:date>
    </item>
  </channel>
</rss>

