Skip to contentSkip to conversation

example of acting on events, rendering and threading

DISCUSSION Daniel 2 participants 2 messages Jun 27, 2006 – Jun 28, 2006

lore
Share & tools
lore

Daniel

author
#0 lore raw

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.
Thanks.

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

#1 lore raw

At Tue, 27 Jun 2006 17:54:06 +0100,

Quoted 5 lines · Daniel

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