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)
ITADataSources
Commits
456feabb
Commit
456feabb
authored
Aug 28, 2016
by
js908001
Browse files
Intermediate commit while fixing tests for linux compat
parent
a1def47c
Changes
6
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
456feabb
...
...
@@ -84,6 +84,8 @@ endif( VPORTAUDIO_FOUND AND ITA_DATA_SOURCE_WITH_INTEGRATED_PORTAUDIO )
# compiler
if
(
WIN32
)
add_definitions
(
-DITA_BASE_DLL -DITA_DATA_SOURCES_DLL -DITA_DATA_SOURCES_EXPORT
)
else
(
WIN32
)
add_definitions
(
-std=c++11
)
endif
(
WIN32
)
...
...
@@ -103,8 +105,8 @@ set_property( TARGET ITADataSources PROPERTY FOLDER "ITACoreLibs" )
# apps
set
(
ITADATASOURCES_COMMON_BUILD TRUE
)
add_subdirectory
(
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/apps/ita_whad"
)
#
set( ITADATASOURCES_COMMON_BUILD TRUE )
#
add_subdirectory( "${CMAKE_CURRENT_SOURCE_DIR}/apps/ita_whad" )
# tests
...
...
src/ITAStreamProbe.cpp
View file @
456feabb
#include
"ITAStreamProbe.h"
#include
<cassert>
#include
<ITABufferedAudio
f
ileWriter.h>
#include
<ITABufferedAudio
F
ileWriter.h>
#ifndef WIN32
#include
<memory.h>
...
...
tests/BufferDataSourceTest.cpp
View file @
456feabb
#include
<ITAException.h>
#include
<ITABufferData
s
ource.h>
#include
<ITAData
s
ourceUtils.h>
#include
<ITABufferData
iS
ource.h>
#include
<ITAData
S
ourceUtils.h>
#include
<stdio.h>
#include
<vector>
#include
<iostream>
...
...
@@ -92,4 +92,4 @@ int main(int argc, char* argv[]) {
delete
pfInvRamp
;
return
0
;
}
\ No newline at end of file
}
tests/DatasourceUtilsTest.cpp
View file @
456feabb
#include
<ITAException.h>
#include
<ITAFileData
s
ource.h>
#include
<ITAFileData
S
ource.h>
#include
<ITADatasourceUtils.h>
#include
<stdio.h>
#include
<iostream>
...
...
@@ -39,4 +39,4 @@ int main(int argc, char* argv[]) {
}
return
0
;
}
\ No newline at end of file
}
tests/FileDataSourceTest.cpp
View file @
456feabb
#include
<ITAException.h>
#include
<ITAFileData
s
ource.h>
#include
<ITAData
s
ourceUtils.h>
#include
<ITAFileData
S
ource.h>
#include
<ITAData
S
ourceUtils.h>
#include
<ITAStreamAmplifier.h>
#include
<stdio.h>
#include
<iostream>
...
...
@@ -55,4 +55,4 @@ int main(int argc, char* argv[]) {
}
return
0
;
}
\ No newline at end of file
}
tests/PeakDetectorTest.cpp
View file @
456feabb
#include
<ITAException.h>
#include
<ITAFileData
s
ource.h>
#include
<ITAFileData
S
ource.h>
#include
<ITAPeakDetector.h>
#include
<ITAStringUtils.h>
#include
<iostream>
...
...
@@ -49,4 +49,4 @@ int main(int argc, char* argv[]) {
}
return
0
;
}
\ No newline at end of file
}
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