mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-12 08:37:25 -05:00
wip #34 - removed some wrapper methods from tuner since the tuner
controller is now exposed (frequency, sample rate, channel count, etc)
This commit is contained in:
@@ -99,12 +99,6 @@ public abstract class Tuner implements ITunerChannelProvider
|
||||
mName = name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Applies the settings from a saved tuner configuration setting object
|
||||
*/
|
||||
public abstract void apply( TunerConfiguration config )
|
||||
throws SourceException;
|
||||
|
||||
/**
|
||||
* Unique identifier for this tuner, used to lookup a tuner configuration
|
||||
* from the settings manager.
|
||||
@@ -135,23 +129,11 @@ public abstract class Tuner implements ITunerChannelProvider
|
||||
return mName;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sample rate of complex data coming from the Tuner
|
||||
* @return
|
||||
*/
|
||||
public abstract int getSampleRate();
|
||||
|
||||
/**
|
||||
* Sample size in bits
|
||||
*/
|
||||
public abstract double getSampleSize();
|
||||
|
||||
/**
|
||||
* Tuner Local Oscillator Frequency
|
||||
* @return - frequency in Hertz
|
||||
*/
|
||||
public abstract long getFrequency() throws SourceException;
|
||||
|
||||
/**
|
||||
* Returns a tuner frequency channel source, tuned to the correct frequency
|
||||
*
|
||||
@@ -166,11 +148,6 @@ public abstract class Tuner implements ITunerChannelProvider
|
||||
public abstract TunerChannelSource getChannel( TunerChannel channel )
|
||||
throws RejectedExecutionException, SourceException;
|
||||
|
||||
/**
|
||||
* Count of currently sourced channels (TunerChannel).
|
||||
*/
|
||||
public abstract int getChannelCount();
|
||||
|
||||
/**
|
||||
* Releases the tuned channel resources
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user