ddf.minim.spi
Interface AudioResource

All Known Subinterfaces:
AudioOut, AudioRecording, AudioRecordingStream, AudioStream

public interface AudioResource


Method Summary
 void close()
          Closes the resource, releasing any memory.
 javax.sound.sampled.Control[] getControls()
          Returns the Controls available for this AudioResource.
 javax.sound.sampled.AudioFormat getFormat()
          Returns the AudioFormat of this AudioResource.
 void open()
          Opens the resource to be used.
 

Method Detail

open

void open()
Opens the resource to be used.


close

void close()
Closes the resource, releasing any memory.


getControls

javax.sound.sampled.Control[] getControls()
Returns the Controls available for this AudioResource.

Returns:
an array of Control objects, that can be used to manipulate the resource

getFormat

javax.sound.sampled.AudioFormat getFormat()
Returns the AudioFormat of this AudioResource.

Returns:
the AudioFormat of this AudioResource