mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-12 08:37:25 -05:00
NOTE: only the gui components and settings handling have been implemented. Actual recording playback is not yet implemented. Partial checkin of initial P25 decoder development. NOTE: P25 decoder is not yet functional.
29 lines
715 B
Java
29 lines
715 B
Java
package source.tuner;
|
|
|
|
import java.util.concurrent.RejectedExecutionException;
|
|
|
|
import source.SourceException;
|
|
import controller.ThreadPoolManager;
|
|
|
|
public interface TunerChannelProvider
|
|
{
|
|
/**
|
|
* Returns a tuner frequency channel source, tuned to the correct frequency
|
|
*
|
|
* @param frequency - desired frequency
|
|
*
|
|
* @return - source for 48k sample rate
|
|
*/
|
|
public abstract TunerChannelSource getChannel( ThreadPoolManager threadPoolManager,
|
|
TunerChannel channel ) throws RejectedExecutionException, SourceException;
|
|
|
|
/**
|
|
* Releases the tuned channel resources
|
|
*
|
|
* @param channel - previously obtained tuner channel
|
|
*/
|
|
public abstract void releaseChannel( TunerChannelSource source );
|
|
|
|
|
|
}
|