com.groovemanager.app.sse
Interface AudioFileSaveListener

All Known Implementing Classes:
Mc909SampleEditor, SimpleSampleEditor

public interface AudioFileSaveListener

An AudioFileSaveListener can be notified when a SaveAudioFileAsAction is being performed.

Author:
Manu Robledo

Method Summary
 void saveAudioFile(java.io.File source, java.io.File f, javax.sound.sampled.AudioFileFormat.Type type, javax.sound.sampled.AudioFormat format)
          Notification that a SaveAudioFileAsAction has been performed, meaning the given file should be saved as the given audio file type at the given File location in the given format.
 

Method Detail

saveAudioFile

void saveAudioFile(java.io.File source,
                   java.io.File f,
                   javax.sound.sampled.AudioFileFormat.Type type,
                   javax.sound.sampled.AudioFormat format)
Notification that a SaveAudioFileAsAction has been performed, meaning the given file should be saved as the given audio file type at the given File location in the given format.

Parameters:
source - The file that should be saved.
f - The file to save to.
type - The audio file type to write.
format - The audio format to write.