<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hey Darren, thanks for your swift reply.<div><br></div><div>The audio HW on the Minnowboard is working, speaker-test and aplay produce audio.</div><div><br></div><div>opkg -list shows that the alsa-utils package is available and installed., no other alsa stuff is available in my Angstrom image.</div><div><br></div><div>/usr/libs also shows I have libasound.so</div><div><br></div><div><br></div><div>But, now to write a c-program sending PCM data to the audio device, I think I need to use functions like snd_pcm_open (according to for example <a href="http://equalarea.com/paul/alsa-audio.html" target="_blank" style="font-size: 12pt;">http://equalarea.com/paul/alsa-audio.html</a>) which is defined in <span style="font-size: 12pt;">/usr/include/alsa/asoundlib.h, but this file is not part of the Angstrom image I have.</span></div><div><span style="font-size: 12pt;"><br></span></div><div><span style="font-size: 12pt;">Do I need to install another alsa related package? Is there an easier way of simply sending 8-bit unsigned PCM to the audio device? (It used to be so easy with OSS ;-)</span></div><div><span style="font-size: 12pt;"><br></span></div><div><span style="font-size: 12pt;">Thanks!</span></div><div><br><div>> Date: Mon, 12 May 2014 10:25:57 -0700<br>> From: dvhart@linux.intel.com<br>> To: elinux-minnowboard@lists.elinux.org<br>> Subject: Re: [MinnowBoard] Audio playback through jack line output<br>> <br>> From:  Robert <robertdegruijl@hotmail.com><br>> Reply-To:  MinnowBoard Development and Community Discussion<br>> <elinux-minnowboard@lists.elinux.org><br>> Date:  Monday, May 12, 2014 at 10:08<br>> To:  "." <elinux-minnowboard@lists.elinux.org><br>> Subject:  [MinnowBoard] Audio playback through jack line output<br>> <br>> <br>> >Hi<br>> >I'm trying to do basic audio playback through the Minnowboard jack line<br>> >output, using a c-program sending a PCM data to an audio device. Does<br>> >anyone have documentation or tips on how to do this using the standard<br>> >Linux Angstrom image from minnowboard.org?<br>> ><br>> >The only playback device I see is /dev/snd/pcmC0D0p, but opening and<br>> >sending PCM data to this fails (write returns -1).<br>> ><br>> >I cannot find any linux OSS modules (modprobe snd-pcm-oss) in the<br>> >Angstrom distribution to create a /dev/dsp or /dev/audio device<br>> ><br>> >I don't seem to have a full ALSA support either, I don't have<br>> >/usr/include/alsa/asoundlib.h. I only have  /usr/include/sound/asound.h<br>> >which does not have the basic function calls such as snd_pcm_open().<br>> ><br>> >Is there a standard way of PCM audio playback on the Angstrom OS image<br>> >for Minnowboard, or do I need to install additional audio drivers and/or<br>> >ALSA modules?<br>> ><br>> >Thanks!<br>> >                                       <br>> <br>> Hi Robert,<br>> <br>> I believe your question is fundamentally an Alsa programming / Angstrom<br>> question - more than a minnow question (which is fine), but I did want to<br>> confirm that your device is working physically. Do the speakertest and/or<br>> aplay programs successfully send output to the device?<br>> <br>> Koen could say for sure, but typically the headers for packages in<br>> Angstrom or in -dev named versions of the base packages.<br>> <br>> For example, you can use opkg to list the available packages, are there<br>> some alsa -dev package available to install?<br>> <br>> <br>> --<br>> Darren Hart                    Open Source Technology Center<br>> darren.hart@intel.com               Intel Corporation<br>> <br>> <br>> <br>> <br>> _______________________________________________<br>> elinux-MinnowBoard mailing list<br>> elinux-MinnowBoard@lists.elinux.org<br>> http://lists.elinux.org/mailman/listinfo/elinux-minnowboard<br></div></div>                                           </div></body>
</html>