MCPcopy Create free account
hub / github.com/aethersdr/AetherSDR / unloadModules

Method unloadModules

src/core/PipeWireAudioBridge.cpp:344–356  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

342}
343
344void PipeWireAudioBridge::unloadModules()
345{
346 for (auto& rx : m_rx) {
347 if (rx.moduleIndex > 0) {
348 runPactl({"unload-module", QString::number(rx.moduleIndex)});
349 rx.moduleIndex = 0;
350 }
351 }
352 if (m_tx.moduleIndex > 0) {
353 runPactl({"unload-module", QString::number(m_tx.moduleIndex)});
354 m_tx.moduleIndex = 0;
355 }
356}
357
358// ── Audio I/O ────────────────────────────────────────────────────────────────
359

Callers

nothing calls this directly

Calls 1

runPactlFunction · 0.85

Tested by

no test coverage detected