Package Acquisition.pamAudio
Class FlacAudioFile
java.lang.Object
Acquisition.pamAudio.FlacAudioFile
- All Implemented Interfaces:
 PamAudioFileLoader
Opens a Flac compressed audio files.
- Author:
 - Jamie Macaulay, Doug Gillespie
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptiongetAudioStream(File soundFile) Get the audio stream for the fileGet file extensions associated with the file typegetName()Get the name of the file.Get a settings pane for the audio loaderbooleanloadAudioData(OfflineFileServer offlineFileServer, PamDataBlock dataBlock, OfflineDataLoadInfo offlineDataLoadInfo, ViewLoadObserver loadObserver) Load a section of audio data. 
- 
Constructor Details
- 
FlacAudioFile
public FlacAudioFile() 
 - 
 - 
Method Details
- 
getFileExtensions
Description copied from interface:PamAudioFileLoaderGet file extensions associated with the file type- Specified by:
 getFileExtensionsin interfacePamAudioFileLoader- Returns:
 - a list of the file extensions (e.g.".wav")
 
 - 
getName
Description copied from interface:PamAudioFileLoaderGet the name of the file.- Specified by:
 getNamein interfacePamAudioFileLoader- Returns:
 - the name of the file
 
 - 
getAudioStream
Description copied from interface:PamAudioFileLoaderGet the audio stream for the file- Specified by:
 getAudioStreamin interfacePamAudioFileLoader- Returns:
 - the audio input stream.
 
 - 
loadAudioData
public boolean loadAudioData(OfflineFileServer offlineFileServer, PamDataBlock dataBlock, OfflineDataLoadInfo offlineDataLoadInfo, ViewLoadObserver loadObserver) Description copied from interface:PamAudioFileLoaderLoad a section of audio data.- Specified by:
 loadAudioDatain interfacePamAudioFileLoader- Parameters:
 offlineFileServer- - the offline file server.dataBlock- - the data block.offlineDataLoadInfo- - the offline data load info.- Returns:
 - true if the file has been loaded
 
 - 
getSettingsPane
Description copied from interface:PamAudioFileLoaderGet a settings pane for the audio loader- Specified by:
 getSettingsPanein interfacePamAudioFileLoader- Returns:
 - settings pane for audio loader - can be null.
 
 
 -