Files
3d_audio/lib_audio_dsp/test/pipeline/app_pipeline/main.c
Steven Dan d8b2974133 init
2025-12-11 09:43:42 +08:00

26 lines
572 B
C

// Copyright 2024-2025 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdbool.h>
#include <xcore/assert.h>
#include <xcore/parallel.h>
#include <xcore/channel.h>
#include <xcore/chanend.h>
DECLARE_JOB(fileio_task, (chanend_t));
DECLARE_JOB(app_dsp_main, (chanend_t));
int main_c()
{
channel_t c_control = chan_alloc();
PAR_JOBS(
PJOB(fileio_task, (c_control.end_a)),
PJOB(app_dsp_main, (c_control.end_b))
);
return 0;
}