Bunding of media files contained in snapshots.

This commit is contained in:
Robin E. R. Davies
2025-06-20 15:52:51 -04:00
parent 7d26a73922
commit 7474c2531d
5 changed files with 283 additions and 74 deletions
+3 -2
View File
@@ -32,6 +32,7 @@
#include "AlsaDriver.hpp"
#include <iomanip>
#include <chrono>
#include <thread>
using namespace pipedal;
@@ -213,11 +214,11 @@ public:
audioDriver->Activate();
sleep(3); // let audio stabilize.
std::this_thread::sleep_for(std::chrono::milliseconds(3000));
this->SetXruns(0);
sleep(7); // run for a bit.
std::this_thread::sleep_for(std::chrono::milliseconds(7000));
audioDriver->Deactivate();
audioDriver->Close();