#90 - updated metadata and attributes to carry channel system/site/name values to support audio recording name generation. Updated always unsquelched decoder state to reset the PRIMARY_TO address to the channel name since the decoder will never push a value to this attribute and it's needed to correctly display audio content.

This commit is contained in:
Denny
2017-01-22 06:44:07 -05:00
parent 8fb2a66411
commit a57183c4cc
10 changed files with 85 additions and 44 deletions

View File

@@ -3671,8 +3671,6 @@ public class P25DecoderState extends DecoderState
{
TrafficChannelAllocationEvent allocationEvent = (TrafficChannelAllocationEvent) event;
broadcast(new AttributeChangeRequest<String>(Attribute.CHANNEL_CONFIGURATION_LABEL_1, "TRAFFIC"));
mCurrentCallEvent = (P25CallEvent) allocationEvent.getCallEvent();
mCurrentChannel = allocationEvent.getCallEvent().getChannel();