From 5a9b83bd2482f8368d98001d2c208fe92f1f1dca Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Mon, 6 Jun 2022 12:42:26 +1000 Subject: [PATCH] IIO Driver requires the std namespace Add the standard namespace to JackIIODriver.cpp otherwise build fails --- linux/iio/JackIIODriver.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/linux/iio/JackIIODriver.cpp b/linux/iio/JackIIODriver.cpp index c73d9bd28..d410beb05 100644 --- a/linux/iio/JackIIODriver.cpp +++ b/linux/iio/JackIIODriver.cpp @@ -32,6 +32,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. //#define IIO_SAFETY_FACTOR 2./3. ///< The default safety factor, allow consumption of this fraction of the available DMA buffer before we don't allow the driver to continue. #define IIO_SAFETY_FACTOR 1. ///< The default safety factor, allow consumption of this fraction of the available DMA buffer before we don't allow the driver to continue. +using namespace std; + namespace Jack { int JackIIODriver::Open(jack_nframes_t buffer_size, jack_nframes_t samplerate, bool capturing, bool playing, int inchannels, int outchannels, bool monitor, const char* capture_driver_name, const char* playback_driver_name, jack_nframes_t capture_latency, jack_nframes_t playback_latency) {