]> Some of my projects - openlase.git/commitdiff
Disable jack-thread olLog calls (threading issues)
authorHector Martin <hector@marcansoft.com>
Sat, 18 Dec 2010 20:22:47 +0000 (21:22 +0100)
committerHector Martin <hector@marcansoft.com>
Sat, 18 Dec 2010 20:22:47 +0000 (21:22 +0100)
libol/libol.c

index dec5a2d3fd8a7c49e2e1349354143e286aee0a0e..7f595cc4e9ec1370674a565f06d30ac3d98b5e7b 100644 (file)
@@ -174,7 +174,7 @@ static int process (nframes_t nframes, void *arg)
        sample_t *o_ar = (sample_t *) jack_port_get_buffer (out_ar, nframes);
 
        if (!first_time_full) {
-               olLog("Dummy frame!\n");
+               //olLog("Dummy frame!\n");
                memset(o_x, 0, nframes * sizeof(sample_t));
                memset(o_y, 0, nframes * sizeof(sample_t));
                memset(o_r, 0, nframes * sizeof(sample_t));
@@ -188,11 +188,11 @@ static int process (nframes_t nframes, void *arg)
        while(nframes) {
                if (out_point == -1) {
                        if (!first_output_frame) {
-                               olLog("First frame! %d\n", crbuf);
+                               //olLog("First frame! %d\n", crbuf);
                                first_output_frame = 1;
                        } else {
                                if ((crbuf+1)%fbufs == cwbuf) {
-                                       olLog("Duplicated frame! %d\n", crbuf);
+                                       //olLog("Duplicated frame! %d\n", crbuf);
                                } else {
                                        crbuf = (crbuf+1)%fbufs;
                                        //olLog("Normal frame! %d\n", crbuf);