Resolved issue with channel label display in spectrum overlay panel

when a new tuner is added.

Cleanup of debugging messages.
This commit is contained in:
denny
2015-11-22 14:25:37 -05:00
parent 547da54340
commit f04a6727b0
18 changed files with 64 additions and 171 deletions

View File

@@ -109,7 +109,7 @@ public class AirspyTuner extends Tuner
}
catch ( SourceException e )
{
mLog.debug( "Error while getting sample rate from controller", e );
mLog.error( "Error while getting sample rate from controller", e );
}
return rate;

View File

@@ -597,7 +597,7 @@ public class AirspyTunerController extends TunerController
{
int count = EndianUtils.readSwappedInteger( rawCount, 0 );
mLog.debug( "There are [" + count + "] sample rates available" );
mLog.info( "There are [" + count + "] sample rates available" );
byte[] rawRates = readArray( Command.GET_SAMPLE_RATES, 0,
count, ( count * 4 ) );
@@ -898,7 +898,7 @@ public class AirspyTunerController extends TunerController
source = new TunerChannelSource( threadPoolManager,
tuner, tunerChannel );
}
return source;
}

View File

@@ -927,7 +927,7 @@ public class HackRFTunerController extends TunerController
{
if( mRunning.compareAndSet( false, true ) )
{
mLog.debug( "starting sample fetch thread" );
mLog.info( "starting HackRF sample fetch thread" );
prepareTransfers();
@@ -969,7 +969,7 @@ public class HackRFTunerController extends TunerController
{
if( mRunning.compareAndSet( true, false ) )
{
mLog.debug( "stopping sample fetch thread" );
mLog.info( "stopping HackRF sample fetch thread" );
cancel();