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:
denny
2016-03-13 07:38:29 -04:00
parent 415f95ec89
commit 0605760fcd
16 changed files with 32 additions and 198 deletions

View File

@@ -65,30 +65,12 @@ public class HackRFTuner extends Tuner
return TunerType.HACKRF;
}
@Override
public void apply( TunerConfiguration config ) throws SourceException
{
getController().apply( config );
}
@Override
public int getSampleRate()
{
return getController().getSampleRate();
}
@Override
public double getSampleSize()
{
return 11.0;
}
@Override
public long getFrequency() throws SourceException
{
return getController().getFrequency();
}
@Override
public TunerChannelSource getChannel( TunerChannel channel )
throws RejectedExecutionException, SourceException
@@ -103,12 +85,6 @@ public class HackRFTuner extends Tuner
return source;
}
@Override
public int getChannelCount()
{
return getController().getChannelCount();
}
@Override
public void releaseChannel( TunerChannelSource source )
{