mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-13 00:57:31 -05:00
Updates pull request from Roman Tsypuk to convert the build system from
ant to gradle. Removes linux and windows application launch scripts and produces an executable jar with all resources included.
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
package io.github.dsheirer.source;
|
||||
|
||||
import javax.sound.sampled.UnsupportedAudioFileException;
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
|
||||
/**
|
||||
* Defines a controllable source that can be manually controlled for stepping
|
||||
* through the file.
|
||||
*/
|
||||
public interface IControllableFileSource
|
||||
{
|
||||
/**
|
||||
* Opens the file source
|
||||
*/
|
||||
public void open() throws IOException, UnsupportedAudioFileException;
|
||||
|
||||
public void close() throws IOException;
|
||||
|
||||
public File getFile();
|
||||
|
||||
public void next( int frames ) throws IOException;
|
||||
|
||||
public void next( int frames, boolean broadcast ) throws IOException;
|
||||
|
||||
public long getFrameCount() throws IOException;
|
||||
|
||||
public void setListener( IFrameLocationListener listener );
|
||||
|
||||
public void removeListener( IFrameLocationListener listener );
|
||||
}
|
||||
Reference in New Issue
Block a user