<br> uh, i think i made i mistake;<br> <br> &nbsp;i enabled all options during configuration, which probably means that the last one enabled was the overriding one (oss), i did something like<br> <br> ./configure --enable-jack --enable-alsa --enable-oss<br> <br> &nbsp;i thought the 3 options were compatible on a single buy, but maybe one needs to build a separate stk library for each api?<br><br><b><i>"Gary P. Scavone" &lt;gary@ccrma.Stanford.EDU&gt;</i></b> escribió:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> Hi Charlls,<br><br>It is odd that you are getting an ALSA error report if you did not  <br>provide the -D__LINUX_ALSA__ preprocessor definition during  <br>compilation.  My guess wrt to the error below is the same issue I  <br>reported yesterday ... please see the archives.  To repeat:<br><br>In RtAudio, search for "pthread_attr_setschedpolicy(&amp;attr,  <br>SCHED_RR);" and change the SCHED_RR to
 SCHED_OTHER.  Make sure you  <br>are in the RtApiAlsa section of the code.<br><br>I don't know why this is a problem for some and not others but I will  <br>likely make this change in the next release of RtAudio.<br><br>Also, you shouldn't get this error if you are using the Jack API.   <br>And RtAudio should use the Jack API automatically if it is only  <br>compiled with Jack support.  In fact, even if there is multiple Linux  <br>audio API support compiled in, Jack gets highest priority.  So, if  <br>RtAudio finds a running Jack server when it starts up, it uses that.<br><br>Regards,<br><br>--gary<br><br>On 9-Feb-06, at 9:45 PM, Charlls Quarra wrote:<br><br>&gt;<br>&gt; Hi,<br>&gt;<br>&gt; compiling the following example:<br>&gt; http://ccrma.stanford.edu/software/stk/crealtime.html<br>&gt;<br>&gt; with<br>&gt; g++ -D__LINUX_JACK__ crtsine.cpp -o crtsine -lpthread -ljack - <br>&gt; lasound -lstk<br>&gt;<br>&gt; ah, btw, i created an ebuild script for stk-4.2.1 for gentooers, is 
 <br>&gt; in the revision step but can be fetched at:<br>&gt; http://bugs.gentoo.org/show_bug.cgi?id=122321 (see attachment)<br>&gt;<br>&gt; when i run crtsine i get this error,<br>&gt;<br>&gt; RtApiAlsa: error starting callback thread!<br>&gt;<br>&gt; this error occurs at<br>&gt; dac-&gt;setStreamCallback(&amp;tick, (void *)&amp;sine);<br>&gt;<br>&gt; any ideas what i'm doing wrong? jackd is running fine while i run  <br>&gt; the program<br>&gt;<br>&gt;<br>&gt;<br>&gt; 1GB gratis, Antivirus y Antispam<br>&gt; Correo Yahoo!, el mejor correo web del mundo<br>&gt; Abrí tu cuenta aquí<br><br>_______________________________________________<br>Stk mailing list<br>Stk@ccrma.stanford.edu<br>http://ccrma-mail.stanford.edu/mailman/listinfo/stk<br></blockquote><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>