Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Institute of Technical Acoustics (ITA)
VACore
Commits
f424606e
Commit
f424606e
authored
Feb 03, 2017
by
Jonas Stienen
Browse files
Introducing cmake switches for audio (driver) backends: ASIO, Portaudio and Dummy
parent
974d427e
Changes
2
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
f424606e
...
...
@@ -86,6 +86,18 @@ if( NOT DEFINED INSIDE_SCENE_DATA )
endif
(
NOT DEFINED INSIDE_SCENE_DATA
)
# drivers
if
(
NOT DEFINED ITA_VACORE_WITH_AUDIO_BACKEND_ASIO
)
set
(
ITA_VACORE_WITH_AUDIO_BACKEND_ASIO ON CACHE BOOL
"Build VACore with ASIO audio backend support"
)
endif
(
)
if
(
NOT DEFINED ITA_VACORE_WITH_AUDIO_BACKEND_PORTAUDIO
)
set
(
ITA_VACORE_WITH_AUDIO_BACKEND_PORTAUDIO ON CACHE BOOL
"Build VACore with Portaudio audio backend support"
)
endif
(
)
if
(
NOT DEFINED ITA_VACORE_WITH_AUDIO_BACKEND_DUMMY
)
set
(
ITA_VACORE_WITH_AUDIO_BACKEND_DUMMY OFF CACHE BOOL
"Build VACore with dummy audio backend support"
)
endif
(
)
# Development
if
(
NOT DEFINED ITA_VACORE_REPRODUCTION_NCTC_WITH_SWEET_SPOT_WIDENING
)
set
(
ITA_VACORE_REPRODUCTION_NCTC_WITH_SWEET_SPOT_WIDENING ON CACHE BOOL
"Crosstalk-Cancellation sweet spot widening (development)"
)
...
...
src/Drivers/Audio/_SourceFiles.cmake
View file @
f424606e
...
...
@@ -4,18 +4,23 @@ set( RelativeDir "src/Drivers/Audio" )
set
(
RelativeSourceGroup
"Source Files
\\
Drivers
\\
Audio"
)
set
(
DirFiles
VAASIOBackend.cpp
VAASIOBackend.h
VAAudioDriverBackend.cpp
VAAudioDriverBackend.h
VAAudioDriverConfig.cpp
VAAudioDriverConfig.h
#VADummyAudioDriverBackend.cpp
#VADummyAudioDriverBackend.h
VAPortaudioBackend.cpp
VAPortaudioBackend.h
_SourceFiles.cmake
)
if
(
ITA_VACORE_WITH_AUDIO_BACKEND_ASIO
)
list
(
APPEND DirFiles VAASIOBackend.cpp VAASIOBackend.h
)
endif
(
)
if
(
ITA_VACORE_WITH_AUDIO_BACKEND_PORTAUDIO
)
list
(
APPEND DirFiles VAPortaudioBackend.cpp VAPortaudioBackend.h
)
endif
(
)
if
(
ITA_VACORE_WITH_AUDIO_BACKEND_DUMMY
)
list
(
APPEND DirFiles VADummyAudioDriverBackend.cpp VADummyAudioDriverBackend.h
)
endif
(
)
set
(
DirFiles_SourceGroup
"
${
RelativeSourceGroup
}
"
)
set
(
LocalSourceGroupFiles
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment