Developing multimedia applications with  JMF         T.G.Venkatesh      
16
 AudioFormat
•The class Format stores some of the most common attributes that define a particular format .
•Fields of the class AudioFormat :
ØSampleRate           -    sampling rate (  8 Khz, 44100 Hz etc)
ØSampleSizeInBits  -  bits per sample ( 8 / 16 bits per sample  )
Øchannels,           -   Number of channels ; 1 ( mono) , 2 (stereo)  
Øendian,                  -    Little endian or Big endian.    
Øsigned                 -    signed /  unsigned samples
ØFrameSizeInBits   -    size of the frame in bits,
•linear, ULAW, DVI, G723, GSM, IMA4, and MPEG are defined as fields of AudioFormat.
•AudioFormat   af  =  new AudioFormat( AudioFormat.LINEAR, 44100, 16, 1, AudioFormat.LITTLE_ENDIAN,  AudioFormat.SIGNED, 16, Format.NOT_SPECIFIED, Format.byteArray );