mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-13 17:17:29 -05:00
Adds event logging, code cleanup and some decoder issue resolution.
This commit is contained in:
@@ -21,10 +21,8 @@ package record;
|
||||
import javax.swing.JCheckBox;
|
||||
|
||||
import record.config.RecordConfiguration;
|
||||
import controller.Editor;
|
||||
import controller.channel.AbstractChannelEditor;
|
||||
import controller.channel.ChannelNode;
|
||||
import controller.channel.ChannelValidationException;
|
||||
|
||||
public class RecordComponentEditor extends AbstractChannelEditor
|
||||
{
|
||||
|
||||
@@ -19,8 +19,6 @@ package record;
|
||||
|
||||
import record.config.RecordConfiguration;
|
||||
import controller.Editor;
|
||||
import controller.channel.Channel;
|
||||
import controller.channel.ChannelValidationException;
|
||||
|
||||
public class RecordEditor extends Editor
|
||||
{
|
||||
|
||||
@@ -21,7 +21,6 @@ import java.io.File;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import module.ProcessingChainOld;
|
||||
import properties.SystemProperties;
|
||||
import record.config.RecordConfiguration;
|
||||
import record.wave.ComplexWaveRecorder;
|
||||
@@ -35,8 +34,9 @@ public class RecorderManager
|
||||
public RecorderManager()
|
||||
{
|
||||
}
|
||||
|
||||
public List<Recorder> getRecorder( ProcessingChainOld channel )
|
||||
|
||||
//TODO: make this return modules
|
||||
public List<Recorder> getRecorders( RecordConfiguration config )
|
||||
{
|
||||
/* Note: the file suffix (ie .wav) gets added by the recorder */
|
||||
|
||||
@@ -47,12 +47,10 @@ public class RecorderManager
|
||||
sb.append( File.separator );
|
||||
sb.append( TimeStamp.getTimeStamp( "_" ) );
|
||||
sb.append( "_" );
|
||||
sb.append( channel.getChannel().getName() );
|
||||
// sb.append( channel.getChannel().getName() );
|
||||
|
||||
ArrayList<Recorder> retVal = new ArrayList<Recorder>();
|
||||
|
||||
RecordConfiguration config = channel.getChannel().getRecordConfiguration();
|
||||
|
||||
for( RecorderType recorder: config.getRecorders() )
|
||||
{
|
||||
switch( recorder )
|
||||
|
||||
@@ -30,7 +30,6 @@ import org.slf4j.LoggerFactory;
|
||||
import record.Recorder;
|
||||
import record.RecorderType;
|
||||
import sample.Listener;
|
||||
import sample.complex.ComplexBuffer;
|
||||
import sample.real.RealBuffer;
|
||||
import sample.real.RealSampleListener;
|
||||
import util.waveaudio.WaveWriter;
|
||||
|
||||
@@ -17,8 +17,6 @@
|
||||
******************************************************************************/
|
||||
package record.wave;
|
||||
|
||||
import gui.SDRTrunk;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.nio.ByteBuffer;
|
||||
import java.util.concurrent.LinkedBlockingQueue;
|
||||
|
||||
Reference in New Issue
Block a user