Package Acquisition.sud
Interface SUDNotificationHandler
- All Superinterfaces:
org.pamguard.x3.sud.SudFileListener,org.pamguard.x3.sud.SudProgressListener
- All Known Implementing Classes:
SudFileDWVHandler,SUDNotificationManager
public interface SUDNotificationHandler
extends org.pamguard.x3.sud.SudFileListener, org.pamguard.x3.sud.SudProgressListener
-
Method Summary
Modifier and TypeMethodDescriptionvoidchunkProcessed(int chunkId, org.pamguard.x3.sud.Chunk sudChunk) voidinterpretNewFile(String newFile, org.pamguard.x3.sud.SudAudioInputStream sudAudioStream) Notification that a new file or folder is selected.voidnewSudInputStream(org.pamguard.x3.sud.SudAudioInputStream sudAudioInputStream) A new SUD file input stream has been opened.voidprogress(double arg0, int arg1, int arg2) voidSUD stream has closed.
-
Method Details
-
newSudInputStream
void newSudInputStream(org.pamguard.x3.sud.SudAudioInputStream sudAudioInputStream) A new SUD file input stream has been opened.- Parameters:
sudAudioInputStream-
-
sudStreamClosed
void sudStreamClosed()SUD stream has closed. -
progress
void progress(double arg0, int arg1, int arg2) - Specified by:
progressin interfaceorg.pamguard.x3.sud.SudProgressListener
-
chunkProcessed
void chunkProcessed(int chunkId, org.pamguard.x3.sud.Chunk sudChunk) - Specified by:
chunkProcessedin interfaceorg.pamguard.x3.sud.SudFileListener
-
interpretNewFile
Notification that a new file or folder is selected. This is called when a file or folder is selected in the dialog, NOT when acquisition starts, so is a good opportunity for the SUD Click Detector to work out channel maps and sample rates.- Parameters:
newFile-sudAudioStream-
-