From 28c89c24e40a7c6bac538dc2953f5d16d653718e Mon Sep 17 00:00:00 2001 From: Spencer Russell Date: Wed, 15 Apr 2020 20:27:23 -0400 Subject: [PATCH] removed outdated info on building the shim from README --- README.md | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/README.md b/README.md index 38e6fad..f873737 100644 --- a/README.md +++ b/README.md @@ -94,14 +94,3 @@ julia> close(stream) julia> save(joinpath(homedir(), "Desktop", "myvoice.ogg"), buf) ``` - -## Building the shim library - -Because PortAudio calls its callback from a separate audio thread, we can't handle it in Julia directly. To work around this we've included a small shim library written in C that uses ring buffers to pass audio data between the callback context and the main Julia context. To build the shim you'll need a few prerequisites: - -* libportaudio -* make -* a C compiler (gcc on linux/macOS, mingw64 on Windows) -* The `RingBuffers` julia package, installed in a folder next to this one. The portaudio shim links against the `pa_ringbuffer` library that comes with `RingBuffers`. - -To build the shim, go into the `deps/src` directory and type `make`.