<?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>Other NXP Products中的主题 Re: Sample code to open, config and send sound file using MX27PDK PMIC audio device</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/Sample-code-to-open-config-and-send-sound-file-using-MX27PDK/m-p/186916#M1540</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A quick way to get audio out is to run aplay on the MX27PDK:&lt;/P&gt;&lt;P&gt;aplay file.wav&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You need to select alsa-utils and alsa-libs in LTIB (under Package list).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Fabio Estevam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Jun 2009 08:00:33 GMT</pubDate>
    <dc:creator>fabio_estevam</dc:creator>
    <dc:date>2009-06-04T08:00:33Z</dc:date>
    <item>
      <title>Sample code to open, config and send sound file using MX27PDK PMIC audio device</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Sample-code-to-open-config-and-send-sound-file-using-MX27PDK/m-p/186915#M1539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, can anyone post a simple sample app code to open and use the PMIC audio device so that I can emit some sound on the speakers? This is on the MX27PDK platform.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2009 23:21:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Sample-code-to-open-config-and-send-sound-file-using-MX27PDK/m-p/186915#M1539</guid>
      <dc:creator>Durian</dc:creator>
      <dc:date>2009-06-02T23:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: Sample code to open, config and send sound file using MX27PDK PMIC audio device</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Sample-code-to-open-config-and-send-sound-file-using-MX27PDK/m-p/186916#M1540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A quick way to get audio out is to run aplay on the MX27PDK:&lt;/P&gt;&lt;P&gt;aplay file.wav&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You need to select alsa-utils and alsa-libs in LTIB (under Package list).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Fabio Estevam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2009 08:00:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Sample-code-to-open-config-and-send-sound-file-using-MX27PDK/m-p/186916#M1540</guid>
      <dc:creator>fabio_estevam</dc:creator>
      <dc:date>2009-06-04T08:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: Sample code to open, config and send sound file using MX27PDK PMIC audio device</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Sample-code-to-open-config-and-send-sound-file-using-MX27PDK/m-p/186917#M1541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was hoping to just do something like open(/dev/snd/pcmc0d0p, O_RDWR) and then do ioctl and write on it to emit the sound. My app is really simple and I was hoping not to have to use aplay.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does the PDK distro come with the source code for aplay so that maybe I can see how it in turn calls /dev/snd/pcmc0d0p?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2009 11:00:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Sample-code-to-open-config-and-send-sound-file-using-MX27PDK/m-p/186917#M1541</guid>
      <dc:creator>Durian</dc:creator>
      <dc:date>2009-06-04T11:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: Sample code to open, config and send sound file using MX27PDK PMIC audio device</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Sample-code-to-open-config-and-send-sound-file-using-MX27PDK/m-p/186918#M1542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fabio:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When you do aplay /dev/urandom, do you hear a sound on the MX27PDK?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2009 07:59:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Sample-code-to-open-config-and-send-sound-file-using-MX27PDK/m-p/186918#M1542</guid>
      <dc:creator>Durian</dc:creator>
      <dc:date>2009-06-08T07:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: Sample code to open, config and send sound file using MX27PDK PMIC audio device</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Sample-code-to-open-config-and-send-sound-file-using-MX27PDK/m-p/186919#M1543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can also try to inspect the mxc_ssi_test source available under the unit tests.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Fabio Estevam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2009 01:31:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Sample-code-to-open-config-and-send-sound-file-using-MX27PDK/m-p/186919#M1543</guid>
      <dc:creator>fabio_estevam</dc:creator>
      <dc:date>2009-06-11T01:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: Sample code to open, config and send sound file using MX27PDK PMIC audio device</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Sample-code-to-open-config-and-send-sound-file-using-MX27PDK/m-p/186920#M1544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, you should use aplay as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;aplay file.wav&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why don't you just use aplay?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you need aplay source code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;./ltib -p alsa-utils -m prep&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then go to:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cd rpm/BUILD/alsa-utils-1.0.11rc2/aplay/aplay.c&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Fabio Estevam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2009 01:34:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Sample-code-to-open-config-and-send-sound-file-using-MX27PDK/m-p/186920#M1544</guid>
      <dc:creator>fabio_estevam</dc:creator>
      <dc:date>2009-06-11T01:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: Sample code to open, config and send sound file using MX27PDK PMIC audio device</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Sample-code-to-open-config-and-send-sound-file-using-MX27PDK/m-p/186921#M1545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fabio, so playing /dev/urandom will not emit any sound?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do I need to set up any config file in /etc for aplay to work?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you know where I can get a small wav file that emits a short click sound? This is played whenever we press a button on the keypad on our target board.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Jun 2009 06:43:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Sample-code-to-open-config-and-send-sound-file-using-MX27PDK/m-p/186921#M1545</guid>
      <dc:creator>Durian</dc:creator>
      <dc:date>2009-06-13T06:43:30Z</dc:date>
    </item>
    <item>
      <title>Re: Sample code to open, config and send sound file using MX27PDK PMIC audio device</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Sample-code-to-open-config-and-send-sound-file-using-MX27PDK/m-p/186922#M1546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have been trying to get the mxc_ssi_tests going on my PDK and the compiler is unable to find a couple of header files pertaining to mc13783 &amp;nbsp;. Missing files include &amp;nbsp;mc13783_legacy/core/mc13783_external.h, mc13783_legacy/module/mc13783_audio.h, &amp;nbsp;Of course the compilation fails, as references to declarations in this header file are missing. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; What I would like to know is how to solve this problem? I have selected all drivers pertaining to PMIC while compiling the kernel?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2009 23:17:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Sample-code-to-open-config-and-send-sound-file-using-MX27PDK/m-p/186922#M1546</guid>
      <dc:creator>Pats</dc:creator>
      <dc:date>2009-10-13T23:17:38Z</dc:date>
    </item>
  </channel>
</rss>

