Updated libs. Some comments and tests on cmake with msys2.
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
34729cf9c0
commit
9617da3ad9
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
cmake . -G"Ninja" -DLASP_HAS_ULDAQ=OFF -DPython3_ROOT_DIR=C:\Users\User\AppData\Local\Programs\Python\Python310
|
||||
arch=urcr64
|
||||
cmake . -G"Ninja" -DLASP_HAS_ULDAQ=OFF #-DPython3_ROOT_DIR=C:\\winpython\\python-3.10.9.amd64
|
||||
arch=ucrt64
|
||||
#arch=mingw64
|
||||
|
||||
files_to_cpy="libfftw3-3.dll libgcc_s_seh-1.dll libgfortran-5.dll libgomp-1.dll libopenblas.dll libquadmath-0.dll libstdc++-6.dll libwinpthread-1.dll"
|
||||
|
@ -10,7 +10,7 @@ arch=mingw-w64-ucrt-x86_64
|
||||
|
||||
pacman -S ${PACMAN_OPTIONS} make
|
||||
|
||||
deps="gcc make toolchain ccache cmake openblas pybind11 fftw"
|
||||
deps="gcc ninja ccache cmake openblas fftw"
|
||||
for dep in $deps; do
|
||||
pacman -S ${PACMAN_OPTIONS} ${arch}-${dep}
|
||||
done
|
||||
|
@ -244,8 +244,8 @@ public:
|
||||
&myerrorcallback);
|
||||
|
||||
if (nFramesPerBlock_copy != nFramesPerBlock) {
|
||||
throw rte("Got different number of frames per block back from RtAudio "
|
||||
"backend. I do not know what to do.");
|
||||
throw rte(string("Got different number of frames per block back from RtAudio "
|
||||
"backend: ") + std::to_string(nFramesPerBlock_copy) + ". I do not know what to do.");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -333,10 +333,13 @@ void StreamMgr::startStream(const DaqConfiguration &config) {
|
||||
d fs = daq->samplerate();
|
||||
/// Create input filters
|
||||
_inputFilters.clear();
|
||||
/// No input filter for monitor channel.
|
||||
|
||||
/// No input filter for monitor channel, which comes as the first input channel
|
||||
/// In the list
|
||||
if (config.monitorOutput && devinfo->hasInternalOutputMonitor) {
|
||||
_inputFilters.push_back(nullptr);
|
||||
}
|
||||
|
||||
for (auto &ch : daq->inchannel_config) {
|
||||
if (ch.enabled) {
|
||||
if (ch.digitalHighPassCutOn < 0) {
|
||||
|
@ -1,8 +1,8 @@
|
||||
include_directories(SYSTEM
|
||||
${PROJECT_SOURCE_DIR}/third_party/armadillo-code/include)
|
||||
add_executable(test_daq test_daq.cpp)
|
||||
include_directories(SYSTEM ../third_party/armadillo-code/include)
|
||||
#add_executable(test_daq test_daq.cpp)
|
||||
add_executable(test_smgr test_smgr.cpp)
|
||||
|
||||
include_directories(../src/lasp/device ../src/lasp/dsp ../src/lasp)
|
||||
include_directories(../third_party/gsl-lite/include)
|
||||
target_link_libraries(test_daq lasp_device_lib lasp_dsp_lib)
|
||||
#target_link_libraries(test_daq lasp_device_lib lasp_dsp_lib)
|
||||
target_link_libraries(test_smgr lasp_device_lib lasp_dsp_lib)
|
||||
|
@ -16,16 +16,16 @@ bool inCallback(const DaqData& d) {
|
||||
int main(int argc, const char **const argv) {
|
||||
|
||||
StreamMgr& mgr = StreamMgr::getInstance();
|
||||
std::vector<DeviceInfo> devs = mgr.getDeviceInfo();
|
||||
DeviceInfoList devs = mgr.getDeviceInfo();
|
||||
|
||||
DeviceInfo *mon_device = nullptr;
|
||||
for (auto &d : devs) {
|
||||
|
||||
string name_lower = d.device_name;
|
||||
string name_lower = d->device_name;
|
||||
transform(name_lower.begin(), name_lower.end(), name_lower.begin(),
|
||||
::tolower);
|
||||
if (name_lower.find("monitor") != string::npos) {
|
||||
mon_device = &d;
|
||||
mon_device = d.get();
|
||||
}
|
||||
}
|
||||
|
||||
|
2
third_party/DebugTrace-cpp
vendored
2
third_party/DebugTrace-cpp
vendored
@ -1 +1 @@
|
||||
Subproject commit 43d5ff136438b6f3461b529b3231d55be77094e0
|
||||
Subproject commit 9b143ea40a34d6268d671ea54cd0ba80396b6363
|
2
third_party/uldaq
vendored
2
third_party/uldaq
vendored
@ -1 +1 @@
|
||||
Subproject commit 1d8404159c0fb6d2665461b80acca5bbef5c610a
|
||||
Subproject commit 6e5940eae0d44df49ff64fc7dedd49f86db56cd0
|
Loading…
Reference in New Issue
Block a user