This commit is contained in:
Ryzerth 2020-08-16 18:51:20 +02:00
parent e44d20bdbc
commit 6717c43fc2
2 changed files with 4 additions and 0 deletions

View File

@ -136,6 +136,7 @@ namespace audio {
bstr.stereoStream = &bstr.m2s->output;
astr->monoDynSplit->bind(bstr.monoStream);
bstr.m2s->start();
return bstr.stereoStream;
}
void setBlockSize(std::string name, int blockSize) {

View File

@ -181,8 +181,11 @@ namespace io {
if (!running) {
return;
}
spdlog::warn("==> Pa_StopStream");
Pa_StopStream(stream);
spdlog::warn("==> Pa_CloseStream");
Pa_CloseStream(stream);
spdlog::warn("==> Done");
running = false;
}