From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lee Revell Subject: Re: Sample code for simple ALSA API usage Date: Sun, 15 Oct 2006 11:12:55 -0400 Message-ID: <1160925176.4201.124.camel@mindpipe> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@lists.sourceforge.net Errors-To: alsa-devel-bounces@lists.sourceforge.net To: Assaf Hoffman Cc: Rita Shtern , alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org Just look at the examples in alsa-lib/test/*. Lee On Sun, 2006-10-15 at 11:47 +0200, Assaf Hoffman wrote: > Hi, > I'm new to ALSA and I would be happy to see a simple code that > demonstrates the usage of the following API: > to perform playback: > snd_pcm_write, > snd_pcm_writev, > snd_pcm_open, > snd_pcm_release, > snd_pcm_playback_poll, > snd_pcm_playback_ioctl, > snd_pcm_ioctl_compat, > snd_pcm_mmap, > snd_pcm_fasync, > > > To perform capture: > snd_pcm_read, > snd_pcm_readv, > snd_pcm_open, > snd_pcm_release, > snd_pcm_capture_poll, > snd_pcm_capture_ioctl, > snd_pcm_ioctl_compat, > snd_pcm_mmap, > snd_pcm_fasync, > > Thanks in advance. > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Alsa-devel mailing list > Alsa-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/alsa-devel > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642