KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > javax > sound > sampled > AudioFormat

javax.sound.sampled
Class AudioFormat

java.lang.Object
  extended by javax.sound.sampled.AudioFormat
See Also:
Top Examples, Boolean, Integer, (AudioFormat, AudioFormat) isConversionSupported, matches(AudioFormat), DataLine.getFormat(), AudioInputStream.getFormat(), AudioFileFormat, FormatConversionProvider

public AudioFormat(float sampleRate,
                   int sampleSizeInBits,
                   int channels,
                   boolean signed,
                   boolean bigEndian)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public AudioFormat(AudioFormat.Encoding encoding,
                   float sampleRate,
                   int sampleSizeInBits,
                   int channels,
                   int frameSize,
                   float frameRate,
                   boolean bigEndian)
See Also:
class description
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public AudioFormat(AudioFormat.Encoding encoding,
                   float sampleRate,
                   int sampleSizeInBits,
                   int channels,
                   int frameSize,
                   float frameRate,
                   boolean bigEndian,
                   Map<String,Object> properties)
See Also:
class description
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


[1741]java 1.5 audioformat
By huangfg { at } hotmail { dot } com on 2006/04/06 16:08:40  Rate
do you have to use this new constructor for AudioFormat in order to use the PAN or BALANCE . I get do a getcontrol for PAN or BALANCE in 1.5. 1.42 is ok.

protected boolean bigEndian
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected int channels
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected AudioFormat.Encoding encoding
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected float frameRate
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected int frameSize
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getChannels()
See Also:
AudioSystem.NOT_SPECIFIED, DataLine.Info.getFormats, AudioSystem.isConversionSupported
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public AudioFormat.Encoding getEncoding()
See Also:
AudioFormat.Encoding.ALAW, AudioFormat.Encoding.ULAW, AudioFormat.Encoding.PCM_UNSIGNED, AudioFormat.Encoding.PCM_SIGNED
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public float getFrameRate()
See Also:
AudioSystem.NOT_SPECIFIED, getSampleRate(), DataLine.Info.getFormats, AudioSystem.isConversionSupported
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getFrameSize()
See Also:
AudioSystem.NOT_SPECIFIED, getSampleSizeInBits(), DataLine.Info.getFormats, AudioSystem.isConversionSupported
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Object getProperty(String key)
See Also:
class description
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public float getSampleRate()
See Also:
AudioSystem.NOT_SPECIFIED, getFrameRate(), DataLine.Info.getFormats, AudioSystem.isConversionSupported
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getSampleSizeInBits()
See Also:
AudioSystem.NOT_SPECIFIED, getFrameSize(), DataLine.Info.getFormats, AudioSystem.isConversionSupported
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isBigEndian()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean matches(AudioFormat format)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Map<String,Object> properties()
See Also:
getProperty(String), class description
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected float sampleRate
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected int sampleSizeInBits
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String toString()
See Also:
Object
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags