mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-12 08:37:25 -05:00
Updates pull request from Roman Tsypuk to convert the build system from
ant to gradle. Removes linux and windows application launch scripts and produces an executable jar with all resources included.
This commit is contained in:
24
src/main/java/io/github/dsheirer/sample/Buffer.java
Normal file
24
src/main/java/io/github/dsheirer/sample/Buffer.java
Normal file
@@ -0,0 +1,24 @@
|
||||
package io.github.dsheirer.sample;
|
||||
|
||||
public class Buffer
|
||||
{
|
||||
protected float[] mSamples;
|
||||
|
||||
public Buffer( float[] samples )
|
||||
{
|
||||
mSamples = samples;
|
||||
}
|
||||
|
||||
public float[] getSamples()
|
||||
{
|
||||
return mSamples;
|
||||
}
|
||||
|
||||
/**
|
||||
* Cleanup method to nullify all data and references
|
||||
*/
|
||||
public void dispose()
|
||||
{
|
||||
mSamples = null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user