com.groovemanager.sampled.providers
Class WavAudioFileFormat
java.lang.Object
javax.sound.sampled.AudioFileFormat
com.groovemanager.sampled.providers.WavAudioFileFormat
- public class WavAudioFileFormat
- extends javax.sound.sampled.AudioFileFormat
This class represents an AudioFileFormat for wav e files
- Author:
- Manu Robledo
| Nested classes inherited from class javax.sound.sampled.AudioFileFormat |
javax.sound.sampled.AudioFileFormat.Type |
|
Field Summary |
protected java.util.Map |
properties
Map of properties assigned to this format. |
|
Constructor Summary |
WavAudioFileFormat(javax.sound.sampled.AudioFormat format,
int frameLength)
Construct a new WavAudioFileFormat |
WavAudioFileFormat(javax.sound.sampled.AudioFormat format,
int frameLength,
java.util.Map properties)
Construct a new WavAudioFileFormat |
WavAudioFileFormat(int byteLength,
javax.sound.sampled.AudioFormat format,
int frameLength)
Construct a new WavAudioFileFormat |
| Methods inherited from class javax.sound.sampled.AudioFileFormat |
getByteLength, getFormat, getFrameLength, getType, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
properties
protected java.util.Map properties
- Map of properties assigned to this format. (For compatibility to 1.4)
WavAudioFileFormat
public WavAudioFileFormat(javax.sound.sampled.AudioFormat format,
int frameLength)
- Construct a new WavAudioFileFormat
- Parameters:
format - The AudioFormat of the dataframeLength - The length of the data in sample frames
WavAudioFileFormat
public WavAudioFileFormat(javax.sound.sampled.AudioFormat format,
int frameLength,
java.util.Map properties)
- Construct a new WavAudioFileFormat
- Parameters:
format - The AudioFormat of the dataframeLength - The length of the data in sample framesproperties - Map of additional properties of this format
WavAudioFileFormat
public WavAudioFileFormat(int byteLength,
javax.sound.sampled.AudioFormat format,
int frameLength)
- Construct a new WavAudioFileFormat
- Parameters:
byteLength - The bytelength of the audio fileformat - The AudioFormat of the dataframeLength - The length of the data in sample frames
getProperty
public java.lang.Object getProperty(java.lang.String s)
- Overrides:
getProperty in class javax.sound.sampled.AudioFileFormat
- See Also:
AudioFileFormat.getProperty(java.lang.String)
properties
public java.util.Map properties()
- Overrides:
properties in class javax.sound.sampled.AudioFileFormat
- See Also:
AudioFileFormat.properties()