mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-12 08:37:25 -05:00
ant to gradle. Removes linux and windows application launch scripts and produces an executable jar with all resources included.
27 lines
487 B
Java
27 lines
487 B
Java
package io.github.dsheirer.sample.complex;
|
|
|
|
import io.github.dsheirer.sample.Buffer;
|
|
|
|
import java.util.Arrays;
|
|
|
|
public class ComplexBuffer extends Buffer
|
|
{
|
|
/**
|
|
* Wrapper around float array containing interleaved I/Q samples
|
|
*/
|
|
public ComplexBuffer( float[] samples )
|
|
{
|
|
super( samples );
|
|
}
|
|
|
|
/**
|
|
* Creates a deep copy of the buffer
|
|
*/
|
|
public ComplexBuffer copyOf()
|
|
{
|
|
float[] copy = Arrays.copyOf( mSamples, mSamples.length );
|
|
|
|
return new ComplexBuffer( copy );
|
|
}
|
|
}
|