mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-12 16:47:31 -05:00
Updated spectral display to used dBm scale and removed baseline/amplification items.
Updated sample handling code to use -1.0 to 1.0 float values throughout, to support P25 decoder and symbol filter.
This commit is contained in:
@@ -40,7 +40,7 @@ public class FloatSampleBufferAssembler
|
||||
*/
|
||||
public void put( float sample )
|
||||
{
|
||||
mByteBuffer.putShort( Float.valueOf( sample ).shortValue() );
|
||||
mByteBuffer.putShort( (short)( sample * 32768 ) );
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user