Skip to content

Commit

Permalink
Externals: remove PortAudio
Browse files Browse the repository at this point in the history
  • Loading branch information
ligfx committed May 28, 2017
1 parent 48d6168 commit 34ad1eb
Show file tree
Hide file tree
Showing 110 changed files with 2 additions and 82,506 deletions.
26 changes: 0 additions & 26 deletions CMakeLists.txt
Expand Up @@ -491,32 +491,6 @@ if(ENCODE_FRAMEDUMPS)
endif()
endif()

if(NOT ANDROID)
set(PORTAUDIO_FOUND TRUE)
add_definitions(-DHAVE_PORTAUDIO=1)

if(NOT APPLE)
set(CMAKE_REQUIRED_LIBRARIES portaudio)
CHECK_CXX_SOURCE_RUNS(
"#include <portaudio.h>
int main(int argc, char **argv)
{ if(Pa_GetVersion() >= 1890) return 0; else return 1; }"
SYSTEM_PORTAUDIO)
unset(CMAKE_REQUIRED_LIBRARIES)
endif()
if(SYSTEM_PORTAUDIO AND NOT APPLE)
message(STATUS "Using shared PortAudio for mic support")
set(PORTAUDIO_LIBRARIES portaudio)
else()
message(STATUS "Using static PortAudio from Externals for mic support")
option(PA_USE_ASIO "Enable PortAudio support for ASIO" OFF)
option(PA_USE_DS "Enable PortAudio support for DirectSound" OFF)
option(PA_USE_WDMKS "Enable PortAudio support for WDMKS" OFF)
add_subdirectory(Externals/portaudio EXCLUDE_FROM_ALL)
set(PORTAUDIO_LIBRARIES portaudio_static)
endif()
endif()

if(OPROFILING)
find_package(OProfile)
if(OPROFILE_FOUND)
Expand Down
2 changes: 0 additions & 2 deletions Externals/licenses.md
Expand Up @@ -46,8 +46,6 @@ Dolphin includes or links code of the following third-party software projects:
[GPLv2](http://pearpc.cvs.sourceforge.net/viewvc/pearpc/pearpc/COPYING?view=markup) (with permission by the author to license under GPLv2+)
- [mbed TLS](https://tls.mbed.org/):
[Apache 2.0](https://github.com/ARMmbed/mbedtls/blob/development/LICENSE)
- [PortAudio](http://www.portaudio.com/):
[MIT](http://www.portaudio.com/license.html)
- [PulseAudio](http://www.freedesktop.org/wiki/Software/PulseAudio/):
[LGPLv2.1+](http://cgit.freedesktop.org/pulseaudio/pulseaudio/tree/LICENSE)
- [Qt5](http://qt-project.org/):
Expand Down
409 changes: 0 additions & 409 deletions Externals/portaudio/CMakeLists.txt

This file was deleted.

6 changes: 0 additions & 6 deletions Externals/portaudio/build/dolphin-notes.txt

This file was deleted.

73 changes: 0 additions & 73 deletions Externals/portaudio/build/portaudio.vcxproj

This file was deleted.

110 changes: 0 additions & 110 deletions Externals/portaudio/build/portaudio.vcxproj.filters

This file was deleted.

41 changes: 0 additions & 41 deletions Externals/portaudio/cmake_support/FindASIOSDK.cmake

This file was deleted.

59 changes: 0 additions & 59 deletions Externals/portaudio/cmake_support/FindDXSDK.cmake

This file was deleted.

41 changes: 0 additions & 41 deletions Externals/portaudio/cmake_support/FindJack.cmake

This file was deleted.

0 comments on commit 34ad1eb

Please sign in to comment.