Browse Source

Merge branch 'master' of https://github.com/thestk/rtaudio

tags/5.1.0
Marcus Tomlinson 5 years ago
parent
commit
be6681af88
4 changed files with 5 additions and 3 deletions
  1. +1
    -0
      CMakeLists.txt
  2. +2
    -2
      configure.ac
  3. +1
    -1
      rtaudio.pc.in
  4. +1
    -0
      tests/audioprobe.cpp

+ 1
- 0
CMakeLists.txt View File

@@ -257,6 +257,7 @@ message(STATUS "Compiling with support for: ${apilist}")
# PkgConfig file
string(REPLACE ";" " " req "${PKGCONFIG_REQUIRES}")
string(REPLACE ";" " " api "${API_DEFS}")
set(prefix ${CMAKE_INSTALL_PREFIX})
configure_file("rtaudio.pc.in" "rtaudio.pc" @ONLY)

# Add install rule.


+ 2
- 2
configure.ac View File

@@ -86,8 +86,8 @@ AC_CHECK_HEADERS(sys/ioctl.h unistd.h)
AS_IF([test "x${GXX}" = "xyes" ], [
CXXFLAGS="-Wall -Wextra ${CXXFLAGS}"
AS_IF([ test "x${enable_debug}" = "xyes" ], [
# Add -Werror in debug mode
CXXFLAGS="-Werror ${CXXFLAGS}"
# Add -Werror in debug mode (except unused-function)
CXXFLAGS="-Werror -Wno-error=unused-function ${CXXFLAGS}"
], [
# hide private symbols in non-debug mode
visibility="-fvisibility=hidden"


+ 1
- 1
rtaudio.pc.in View File

@@ -1,4 +1,4 @@
prefix=@CMAKE_INSTALL_PREFIX@
prefix=@prefix@
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include/rtaudio


+ 1
- 0
tests/audioprobe.cpp View File

@@ -46,6 +46,7 @@ int main()
info = audio.getDeviceInfo(i);

std::cout << "\nDevice Name = " << info.name << '\n';
std::cout << "Device ID = " << i << '\n';
if ( info.probed == false )
std::cout << "Probe Status = UNsuccessful\n";
else {


Loading…
Cancel
Save