ddf.minim
Interface BufferedAudio

All Known Implementing Classes:
AudioSample

public interface BufferedAudio


Field Summary
static int LEFT
           
static int RIGHT
           
 
Method Summary
 float[] getChannel(int channelNumber)
          Gets the samples for the requested channel number as a float array.
 int length()
          Gets the length in milliseconds of the buffered audio.
 

Field Detail

LEFT

static final int LEFT
See Also:
Constant Field Values

RIGHT

static final int RIGHT
See Also:
Constant Field Values
Method Detail

getChannel

float[] getChannel(int channelNumber)
Gets the samples for the requested channel number as a float array.

Parameters:
channelNumber - the channel you want the samples for
Returns:
the samples in a float array

length

int length()
Gets the length in milliseconds of the buffered audio.

Returns:
the length in millisecons