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

Method stopPlayback

src/core/QsoRecorder.cpp:489–504  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

487}
488
489void QsoRecorder::stopPlayback()
490{
491 if (!m_playing) return;
492 m_playing = false;
493
494 if (m_playSink) {
495 m_playSink->stop();
496 m_playSink->disconnect(this);
497 m_playSink->deleteLater();
498 m_playSink = nullptr;
499 }
500 if (m_playBuffer.isOpen()) m_playBuffer.close();
501
502 emit muteRxRequested(false);
503 emit playbackStopped();
504}
505
506void QsoRecorder::onPlaybackSinkState(QAudio::State state)
507{

Callers 4

registerMidiParamsMethod · 0.45
toggleAetherialStripMethod · 0.45
wireVfoWidgetMethod · 0.45
wireDspAppletsMethod · 0.45

Calls 4

stopMethod · 0.45
disconnectMethod · 0.45
isOpenMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected