MCPcopy Create free account
hub / github.com/cjcliffe/CubicSDR / toggleActiveDemodRecording

Method toggleActiveDemodRecording

src/AppFrame.cpp:3089–3100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3087}
3088
3089void AppFrame::toggleActiveDemodRecording() {
3090 if (!wxGetApp().getConfig()->verifyRecordingPath()) {
3091 return;
3092 }
3093
3094 DemodulatorInstancePtr activeDemod = wxGetApp().getDemodMgr().getActiveContextModem();
3095
3096 if (activeDemod) {
3097 activeDemod->setRecording(!activeDemod->isRecording());
3098 wxGetApp().getBookmarkMgr().updateActiveList();
3099 }
3100}
3101
3102void AppFrame::toggleAllActiveDemodRecording() {
3103 if (!wxGetApp().getConfig()->verifyRecordingPath()) {

Callers

nothing calls this directly

Calls 6

verifyRecordingPathMethod · 0.80
getConfigMethod · 0.80
getActiveContextModemMethod · 0.80
setRecordingMethod · 0.80
isRecordingMethod · 0.80
updateActiveListMethod · 0.45

Tested by

no test coverage detected