comparison core/PRU.cpp @ 319:2c4ddf4277d1 prerelease

Removed crufty testing code
author andrewm
date Mon, 30 May 2016 01:07:22 +0100
parents f7b19ea31bbb
children 3a28a4eb948d
comparison
equal deleted inserted replaced
318:f7b19ea31bbb 319:2c4ddf4277d1
418 close(xenomai_gpio_fd); 418 close(xenomai_gpio_fd);
419 xenomai_gpio_fd = -1; 419 xenomai_gpio_fd = -1;
420 } 420 }
421 } 421 }
422 } 422 }
423
424 // TESTING
425 // if(posix_memalign((void **)&testing_float, 16, 8 * context->audioFrames * sizeof(float))) {
426 // printf("Error allocating float buffers\n");
427 // return false;
428 // }
429 // if(posix_memalign((void **)&testing_int16, 8, 8 * context->audioFrames * sizeof(int16_t))) {
430 // printf("Error allocating float buffers\n");
431 // return false;
432 // }
433 423
434 // Allocate audio buffers 424 // Allocate audio buffers
435 #ifdef USE_NEON_FORMAT_CONVERSION 425 #ifdef USE_NEON_FORMAT_CONVERSION
436 if(posix_memalign((void **)&context->audioIn, 16, 2 * context->audioFrames * sizeof(float))) { 426 if(posix_memalign((void **)&context->audioIn, 16, 2 * context->audioFrames * sizeof(float))) {
437 printf("Error allocating audio input buffer\n"); 427 printf("Error allocating audio input buffer\n");