mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-12 08:37:25 -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-core-1.1.2.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"/>
|
||||
</classpath>
|
||||
|
||||
Binary file not shown.
@@ -104,7 +104,7 @@ public class P25AudioModule extends Module implements Listener<Message>,
|
||||
{
|
||||
for( byte[] frame: ((LDUMessage)message).getIMBEFrames() )
|
||||
{
|
||||
float[] audio = mAudioConverter.convert( frame );
|
||||
float[] audio = mAudioConverter.decode( frame );
|
||||
|
||||
mAudioPacketListener.receive(
|
||||
new AudioPacket( audio, mAudioMetadata ) );
|
||||
|
||||
@@ -434,14 +434,10 @@ public class MixerManager
|
||||
{
|
||||
return mChannels.contains( channel );
|
||||
}
|
||||
}
|
||||
|
||||
public static void main( String[] args )
|
||||
{
|
||||
mLog.debug( "Starting ..." );
|
||||
|
||||
MixerManager.getInstance();
|
||||
|
||||
mLog.debug( "Finished!" );
|
||||
public String toString()
|
||||
{
|
||||
return mMixer.getMixerInfo().getName();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user