Adds null checking to output processor.

This commit is contained in:
Denny
2018-08-11 05:42:45 -04:00
parent c5d2dcd0cf
commit c2a232fdee

View File

@@ -134,7 +134,11 @@ public class PolyphaseChannelSource extends TunerChannelSource
public void receiveChannelResults(ReusableChannelResultsBuffer channelResultsBuffer)
{
mReusableComplexBufferAssembler.updateTimestamp(channelResultsBuffer.getTimestamp());
mPolyphaseChannelOutputProcessor.receiveChannelResults(channelResultsBuffer);
if(mPolyphaseChannelOutputProcessor != null)
{
mPolyphaseChannelOutputProcessor.receiveChannelResults(channelResultsBuffer);
}
}
/**