org.tritonus.share.sampled.file
Class TAudioFileFormat

java.lang.Object
  extended by javax.sound.sampled.AudioFileFormat
      extended by org.tritonus.share.sampled.file.TAudioFileFormat

public class TAudioFileFormat
extends AudioFileFormat

This class is just to have a public constructor taking the number of bytes of the whole file. The public constructor of AudioFileFormat doesn't take this parameter, the one who takes it is protected.


Nested Class Summary
 
Nested classes/interfaces inherited from class javax.sound.sampled.AudioFileFormat
AudioFileFormat.Type
 
Constructor Summary
TAudioFileFormat(AudioFileFormat.Type type, AudioFormat audioFormat, int nLengthInFrames, int nLengthInBytes)
           
TAudioFileFormat(AudioFileFormat.Type type, AudioFormat audioFormat, int nLengthInFrames, int nLengthInBytes, java.util.Map<java.lang.String,java.lang.Object> properties)
           
 
Method Summary
 java.util.Map<java.lang.String,java.lang.Object> properties()
           
 
Methods inherited from class javax.sound.sampled.AudioFileFormat
getByteLength, getFormat, getFrameLength, getProperty, getType, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TAudioFileFormat

public TAudioFileFormat(AudioFileFormat.Type type,
                        AudioFormat audioFormat,
                        int nLengthInFrames,
                        int nLengthInBytes)

TAudioFileFormat

public TAudioFileFormat(AudioFileFormat.Type type,
                        AudioFormat audioFormat,
                        int nLengthInFrames,
                        int nLengthInBytes,
                        java.util.Map<java.lang.String,java.lang.Object> properties)
Method Detail

properties

public java.util.Map<java.lang.String,java.lang.Object> properties()
Overrides:
properties in class AudioFileFormat