[Stk] crtsine.cpp gives RtApiAlsa: error starting callback thread!

Charlls Quarra charlls_quarra@yahoo.com.ar
Thu, 9 Feb 2006 23:45:54 -0300 (ART)


--0-502045286-1139539554=:66570
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit


 Hi,
 
 compiling the following example:
 http://ccrma.stanford.edu/software/stk/crealtime.html
 
 with
 g++ -D__LINUX_JACK__ crtsine.cpp -o crtsine -lpthread -ljack -lasound -lstk
 
 ah, btw, i created an ebuild script for stk-4.2.1 for gentooers, is in the revision step but can be fetched at:
 http://bugs.gentoo.org/show_bug.cgi?id=122321 (see attachment)
 
 when i run crtsine i get this error,
 
 RtApiAlsa: error starting callback thread!
 
 this error occurs at
 dac->setStreamCallback(&tick, (void *)&sine);
 
 any ideas what i'm doing wrong? jackd is running fine while i run the program
 
 
 
		
---------------------------------
 1GB gratis, Antivirus y Antispam
 Correo Yahoo!, el mejor correo web del mundo
 Abrí tu cuenta aquí
--0-502045286-1139539554=:66570
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

<br> Hi,<br> <br> compiling the following example:<br> http://ccrma.stanford.edu/software/stk/crealtime.html<br> <br> with<br> g++ -D__LINUX_JACK__ crtsine.cpp -o crtsine -lpthread -ljack -lasound -lstk<br> <br> ah, btw, i created an ebuild script for stk-4.2.1 for gentooers, is in the revision step but can be fetched at:<br> http://bugs.gentoo.org/show_bug.cgi?id=122321 (see attachment)<br> <br> when i run crtsine i get this error,<br> <br> RtApiAlsa: error starting callback thread!<br> <br> this error occurs at<br> dac-&gt;<a class="code" href="http://ccrma.stanford.edu/software/stk/classRtAudio.html#a6">setStreamCallback</a>(&amp;tick, (<span class="keywordtype">void</span> *)&amp;sine);<br> <br> any ideas what i'm doing wrong? jackd is running fine while i run the program<br> <br> <br> <p>
		<hr size=1> 
<font color="#9900FF"><b>1GB gratis</b></font>, Antivirus y Antispam<br> 
<font color="#9900FF">Correo Yahoo!</font>, el mejor correo web del mundo<br> 
<a href="http://login.yahoo.com/config/mail?.intl=ar">Abrí tu cuenta aquí</a>
--0-502045286-1139539554=:66570--