mirror of
https://github.com/30hours/blah2.git
synced 2024-11-08 12:25:42 +00:00
Update Capture.cpp
terminating the t1 thread correctly to stop device start() and process() every time the while(true) loop is executed.
This commit is contained in:
parent
bf29d1431f
commit
25eea87083
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ void Capture::process(IqData *buffer1, IqData *buffer2, c4::yml::NodeRef config,
|
||||||
{
|
{
|
||||||
device->replay(buffer1, buffer2, file, loop);
|
device->replay(buffer1, buffer2, file, loop);
|
||||||
}
|
}
|
||||||
|
t1.join();
|
||||||
}
|
}
|
||||||
|
|
||||||
std::unique_ptr<Source> Capture::factory_source(const std::string& type, c4::yml::NodeRef config)
|
std::unique_ptr<Source> Capture::factory_source(const std::string& type, c4::yml::NodeRef config)
|
||||||
|
|
Loading…
Reference in a new issue