env: HOST="" API="oss"
compiler: clang
- os: linux
- env: HOST="--host=i686-w64-mingw32" API="winmm"
+ env: HOST="--host=i686-w64-mingw32" API="winmm" CPPFLAGS="-Wno-unused-function"
compiler: gcc
- os: linux
- env: HOST="--host=x86_64-w64-mingw32" API="winmm"
+ env: HOST="--host=x86_64-w64-mingw32" API="winmm" CPPFLAGS="-Wno-unused-function"
compiler: gcc
- os: linux
- env: HOST="--host=i686-w64-mingw32" API="dsound"
+ env: HOST="--host=i686-w64-mingw32" API="dsound" CPPFLAGS="-Wno-unused-function"
compiler: gcc
- os: linux
- env: HOST="--host=x86_64-w64-mingw32" API="dsound"
+ env: HOST="--host=x86_64-w64-mingw32" API="dsound" CPPFLAGS="-Wno-unused-function"
compiler: gcc
- os: linux
- env: HOST="--host=i686-w64-mingw32" API="asio"
+ env: HOST="--host=i686-w64-mingw32" API="asio" CPPFLAGS="-Wno-unused-function -Wno-unused-but-set-variable"
compiler: gcc
- os: linux
- env: HOST="--host=x86_64-w64-mingw32" API="asio"
+ env: HOST="--host=x86_64-w64-mingw32" API="asio" CPPFLAGS="-Wno-unused-function -Wno-unused-but-set-variable"
compiler: gcc
- os: linux
- env: HOST="--host=i686-w64-mingw32" API="wasapi"
+ env: HOST="--host=i686-w64-mingw32" API="wasapi" CPPFLAGS="-Wno-unused-function"
compiler: gcc
- os: linux
- env: HOST="--host=x86_64-w64-mingw32" API="wasapi"
+ env: HOST="--host=x86_64-w64-mingw32" API="wasapi" CPPFLAGS="-Wno-unused-function"
compiler: gcc
# jack and asound not found on ARM gnueabihf
# - os: linux
if ASIO
%C%_librtaudio_la_SOURCES += \
- asio.cpp \
- asiodrivers.cpp \
- asiolist.cpp \
- iasiothiscallresolver.cpp
+ include/asio.cpp \
+ include/asiodrivers.cpp \
+ include/asiolist.cpp \
+ include/iasiothiscallresolver.cpp
endif
rtaudio_incdir = $(includedir)/rtaudio
if ( sampleRate != deviceInfo.preferredSampleRate )
{
errorType = RtAudioError::INVALID_USE;
- std::stringstring ss;
+ std::stringstream ss;
ss << "RtApiWasapi::probeDeviceOpen: " << sampleRate
<< "Hz sample rate not supported. This device only supports "
<< deviceInfo.preferredSampleRate << "Hz.";
AC_MSG_RESULT([using ASIO])
api="$api -D__WINDOWS_ASIO__"
use_asio=yes
+ CPPFLAGS="-I$srcdir/include $CPPFLAGS"
])
# Look for DirectSound flag
AS_IF([test "x$with_ds" = "xyes" ], [
AC_MSG_RESULT([using WASAPI])
api="$api -D__WINDOWS_WASAPI__"
LIBS="-lwinmm -luuid -lksuser $LIBS"
+ CPPFLAGS="-I$srcdir/include $CPPFLAGS"
])
# If no audio api flags specified, use DS
AS_IF([test "x$api" = "x" ], [