Skip to content

Commit 832fa76

Browse files
DygearMark Tomlin
andauthored
Uses the "Not recording talkgroup - Priority is -1 (Disabled)." language (#1073)
to make it more explicit. Co-authored-by: Mark Tomlin <[email protected]>
1 parent 5f96ef4 commit 832fa76

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

trunk-recorder/source.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ void Source::set_gain(double r) {
321321
double current_gain = cast_to_osmo_sptr(source_block)->get_gain();
322322
if (current_gain != gain) {
323323
BOOST_LOG_TRIVIAL(error) << "Requested Gain of " << gain << " not supported, driver using: " << current_gain;
324-
}
324+
}
325325
BOOST_LOG_TRIVIAL(info) << "Gain set to: " << current_gain;
326326
}
327327

@@ -621,7 +621,7 @@ Recorder *Source::get_analog_recorder(Talkgroup *talkgroup, int priority, Call *
621621
if (talkgroup && (priority == -1)) {
622622
call->set_state(MONITORING);
623623
call->set_monitoring_state(IGNORED_TG);
624-
BOOST_LOG_TRIVIAL(info) << loghdr << "Not recording talkgroup. Priority is -1.";
624+
BOOST_LOG_TRIVIAL(info) << loghdr << "Not recording talkgroup - Priority is -1 (Disabled).";
625625
return NULL;
626626
}
627627

@@ -658,7 +658,7 @@ Recorder *Source::get_digital_recorder(Talkgroup *talkgroup, int priority, Call
658658
if (talkgroup && (priority == -1)) {
659659
call->set_state(MONITORING);
660660
call->set_monitoring_state(IGNORED_TG);
661-
BOOST_LOG_TRIVIAL(info) << loghdr << "Not recording talkgroup. Priority is -1.";
661+
BOOST_LOG_TRIVIAL(info) << loghdr << "Not recording talkgroup - Priority is -1 (Disabled).";
662662
return NULL;
663663
}
664664

0 commit comments

Comments
 (0)