Build instructions#

The documentation describes four methods for integrating USB. These can be built as follows. First run cmake:

  • (mkdir build && cd build && cmake ..)

Now run one of the following:

  • xmake -C build USB_THREAD, most source code in src/dsp_code_usb_thread.c

  • xmake -C build SINGLE_THREAD, most source code in src/dsp_code_single_thread.c

  • xmake -C build MULTI_THREAD, most source code in src/dsp_code_multi_thread.c

  • xmake -C build PIPELINE, most source code in src/dsp_code_pipeline.c

xmake without arguments builds all four.