<br> uh, i think i made i mistake;<br> <br> 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> 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" <gary@ccrma.Stanford.EDU></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(&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>><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 - <br>> lasound -lstk<br>><br>> ah, btw, i created an ebuild script for stk-4.2.1 for gentooers, is
<br>> 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->setStreamCallback(&tick, (void *)&sine);<br>><br>> any ideas what i'm doing wrong? jackd is running fine while i run <br>> the program<br>><br>><br>><br>> 1GB gratis, Antivirus y Antispam<br>> Correo Yahoo!, el mejor correo web del mundo<br>> 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>