From: Takashi Iwai Subject: Re: example of acting on events, rendering and threading Date: Wed, 28 Jun 2006 19:16:33 +0200 Message-ID: References: <000f01c69a0a$4d81cae0$a9fd0d54@DANSHOME> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <000f01c69a0a$4d81cae0$a9fd0d54@DANSHOME> 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: Daniel Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Tue, 27 Jun 2006 17:54:06 +0100, Daniel wrote: > > Hi, I am looking for an example similar to the sine wave example, but a > little more advanced where waves (any, sines are ok) are rendered in a > buffer and then passed to the sound device, so I guess this would require > two threads. Hm, I don't see why this is needed to be threaded... Anyway, the question is a bit too vague to answer. As a good code as multi-threaded audio apps, you can find jackd, for example. Xmms and co have also threaded audio output. Takashi 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