mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-17 02:57:35 -05:00
Updates p25 audio module to use version 0.3.0 of the jmbe audio library
This commit is contained in:
@@ -24,6 +24,6 @@
|
|||||||
<classpathentry kind="lib" path="imports/logback-classic-1.1.2.jar"/>
|
<classpathentry kind="lib" path="imports/logback-classic-1.1.2.jar"/>
|
||||||
<classpathentry kind="lib" path="imports/logback-core-1.1.2.jar"/>
|
<classpathentry kind="lib" path="imports/logback-core-1.1.2.jar"/>
|
||||||
<classpathentry kind="lib" path="imports/commons-io-2.4.jar"/>
|
<classpathentry kind="lib" path="imports/commons-io-2.4.jar"/>
|
||||||
<classpathentry kind="lib" path="imports/jmbe-interface-0.2.1.jar"/>
|
<classpathentry kind="lib" path="imports/jmbe-interface-0.3.0.jar"/>
|
||||||
<classpathentry kind="output" path="bin"/>
|
<classpathentry kind="output" path="bin"/>
|
||||||
</classpath>
|
</classpath>
|
||||||
|
|||||||
Binary file not shown.
@@ -104,7 +104,7 @@ public class P25AudioModule extends Module implements Listener<Message>,
|
|||||||
{
|
{
|
||||||
for( byte[] frame: ((LDUMessage)message).getIMBEFrames() )
|
for( byte[] frame: ((LDUMessage)message).getIMBEFrames() )
|
||||||
{
|
{
|
||||||
float[] audio = mAudioConverter.convert( frame );
|
float[] audio = mAudioConverter.decode( frame );
|
||||||
|
|
||||||
mAudioPacketListener.receive(
|
mAudioPacketListener.receive(
|
||||||
new AudioPacket( audio, mAudioMetadata ) );
|
new AudioPacket( audio, mAudioMetadata ) );
|
||||||
|
|||||||
@@ -434,14 +434,10 @@ public class MixerManager
|
|||||||
{
|
{
|
||||||
return mChannels.contains( channel );
|
return mChannels.contains( channel );
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
public static void main( String[] args )
|
|
||||||
{
|
|
||||||
mLog.debug( "Starting ..." );
|
|
||||||
|
|
||||||
MixerManager.getInstance();
|
public String toString()
|
||||||
|
{
|
||||||
mLog.debug( "Finished!" );
|
return mMixer.getMixerInfo().getName();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user