mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-10 23:57:25 -05:00
Work in progress.
-Started work on new channel editor channel viewer/controller -Removed a number of unused buffer package classes -Moved automatic frequency control to be a module and removed special handling -Added IUnfilteredRealBufferListener & Provider interfaces -Completely removed the ResourceManager class
This commit is contained in:
@@ -17,27 +17,21 @@
|
||||
******************************************************************************/
|
||||
package source;
|
||||
|
||||
import module.Module;
|
||||
import sample.SampleType;
|
||||
|
||||
/**
|
||||
* Abstract class to define the minimum functionality of a sample data provider.
|
||||
*/
|
||||
public abstract class Source
|
||||
public abstract class Source extends Module
|
||||
{
|
||||
protected String mName;
|
||||
protected SampleType mSampleType;
|
||||
|
||||
public Source( String name, SampleType sampleType )
|
||||
public Source( SampleType sampleType )
|
||||
{
|
||||
mName = name;
|
||||
mSampleType = sampleType;
|
||||
}
|
||||
|
||||
public String getName()
|
||||
{
|
||||
return mName;
|
||||
}
|
||||
|
||||
public abstract int getSampleRate() throws SourceException;
|
||||
|
||||
public abstract long getFrequency() throws SourceException;
|
||||
|
||||
Reference in New Issue
Block a user