mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-12 08:37:25 -05:00
Converted frequency to long primitive type (from integer) in anticipation of HackRF support which requires frequencies greater than 2.147 GHz, which is the max hertz value that can be represented by an integer primitive.
This commit is contained in:
@@ -38,7 +38,7 @@ public class FloatWaveSource extends WaveSource
|
||||
|
||||
private AudioInputStream mInputStream = null;
|
||||
private int mBytesPerFrame = 0;
|
||||
private int mFrequency = 0;
|
||||
private long mFrequency = 0;
|
||||
|
||||
private byte[] mBuffer;
|
||||
private int mBufferPointer = 0;
|
||||
@@ -84,7 +84,7 @@ public class FloatWaveSource extends WaveSource
|
||||
* Returns the frequency set for this file. Normally returns zero, but
|
||||
* the value can be set with setFrequency() method.
|
||||
*/
|
||||
public int getFrequency()
|
||||
public long getFrequency()
|
||||
{
|
||||
return mFrequency;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user