From 3bfcb142b5ea7c655f8c84989677c762174df7bc Mon Sep 17 00:00:00 2001 From: Dennis Sheirer Date: Fri, 18 Oct 2024 01:28:31 -0400 Subject: [PATCH] #2025 P25P1 audio module null codec error. --- .../io/github/dsheirer/audio/codec/mbe/JmbeAudioModule.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/java/io/github/dsheirer/audio/codec/mbe/JmbeAudioModule.java b/src/main/java/io/github/dsheirer/audio/codec/mbe/JmbeAudioModule.java index 2eae11666..92750e4d8 100644 --- a/src/main/java/io/github/dsheirer/audio/codec/mbe/JmbeAudioModule.java +++ b/src/main/java/io/github/dsheirer/audio/codec/mbe/JmbeAudioModule.java @@ -1,6 +1,6 @@ /* * ***************************************************************************** - * Copyright (C) 2014-2023 Dennis Sheirer + * Copyright (C) 2014-2024 Dennis Sheirer * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -41,6 +41,9 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; +/** + * Base audio module for protocols that use the JMBE audio codec. + */ public abstract class JmbeAudioModule extends AbstractAudioModule implements Listener, IMessageListener, ISquelchStateListener { @@ -64,7 +67,6 @@ public void dispose() { super.dispose(); MyEventBus.getGlobalEventBus().unregister(this); - mAudioCodec = null; } public IAudioCodec getAudioCodec()