Class spatialAudio.WaveFormat
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class spatialAudio.WaveFormat

java.lang.Object
   |
   +----spatialAudio.WaveFormat

public class WaveFormat
extends Object
The WaveFormat class holds information about an audio format. This class is used in the Environment interface methods for creation of DirectListeners, StreamingListeners, and StreamingSoundSources.

Copyright (c) 1996 Intel Corporation

See Also:
Environment, StreamingListener, StreamingSoundSource, DirectListener

VARIABLE INDEX

 O PCM_11K_16BIT_MONO
Refers to an audio format.
 O PCM_11K_16BIT_STEREO
Refers to an audio format.
 O PCM_11K_8BIT_MONO
Refers to an audio format.
 O PCM_11K_8BIT_STEREO
Refers to an audio format.
 O PCM_22K_16BIT_MONO
Refers to an audio format.
 O PCM_22K_16BIT_STEREO
Refers to an audio format.
 O PCM_22K_8BIT_MONO
Refers to an audio format.
 O PCM_22K_8BIT_STEREO
Refers to an audio format.
 O PCM_44K_16BIT_MONO
Refers to an audio format.
 O PCM_44K_16BIT_STEREO
Refers to an audio format.
 O PCM_44K_8BIT_MONO
Refers to an audio format.
 O PCM_44K_8BIT_STEREO
Refers to an audio format.
 O PCM_8K_16BIT_MONO
Refers to an audio format.
 O PCM_8K_16BIT_STEREO
Refers to an audio format.
 O PCM_8K_8BIT_MONO
Refers to an audio format.
 O PCM_8K_8BIT_STEREO
Refers to an audio format.
 O WAVE_FORMAT_PCM
Refers to an audio format.

CONSTRUCTOR INDEX

 O WaveFormat()
Constructs an instance of the WaveFormat class with the default parameters.
 O WaveFormat(int)
Constructs an instance of the WaveFormat class with the parameters indicated by a static value.
 O WaveFormat(int, int, float, float, int, int, int)
Constructs an instance of the WaveFormat class with the specified parameters.

METHOD INDEX

 O toString()
Returns a String representation of the StreamingSoundSourceDesc instance variables.

VARIABLES

 O PCM_44K_16BIT_STEREO
  public final static int PCM_44K_16BIT_STEREO
Refers to an audio format.
 O PCM_22K_16BIT_STEREO
  public final static int PCM_22K_16BIT_STEREO
Refers to an audio format.
 O PCM_11K_16BIT_STEREO
  public final static int PCM_11K_16BIT_STEREO
Refers to an audio format.
 O PCM_8K_16BIT_STEREO
  public final static int PCM_8K_16BIT_STEREO
Refers to an audio format.
 O PCM_44K_8BIT_STEREO
  public final static int PCM_44K_8BIT_STEREO
Refers to an audio format.
 O PCM_22K_8BIT_STEREO
  public final static int PCM_22K_8BIT_STEREO
Refers to an audio format.
 O PCM_11K_8BIT_STEREO
  public final static int PCM_11K_8BIT_STEREO
Refers to an audio format.
 O PCM_8K_8BIT_STEREO
  public final static int PCM_8K_8BIT_STEREO
Refers to an audio format.
 O PCM_44K_16BIT_MONO
  public final static int PCM_44K_16BIT_MONO
Refers to an audio format.
 O PCM_22K_16BIT_MONO
  public final static int PCM_22K_16BIT_MONO
Refers to an audio format.
 O PCM_11K_16BIT_MONO
  public final static int PCM_11K_16BIT_MONO
Refers to an audio format.
 O PCM_8K_16BIT_MONO
  public final static int PCM_8K_16BIT_MONO
Refers to an audio format.
 O PCM_44K_8BIT_MONO
  public final static int PCM_44K_8BIT_MONO
Refers to an audio format.
 O PCM_22K_8BIT_MONO
  public final static int PCM_22K_8BIT_MONO
Refers to an audio format.
 O PCM_11K_8BIT_MONO
  public final static int PCM_11K_8BIT_MONO
Refers to an audio format.
 O PCM_8K_8BIT_MONO
  public final static int PCM_8K_8BIT_MONO
Refers to an audio format.
 O WAVE_FORMAT_PCM
  public final static int WAVE_FORMAT_PCM
Refers to an audio format.

CONSTRUCTORS

 O WaveFormat
  public WaveFormat()
Constructs an instance of the WaveFormat class with the default parameters. The default format is PCM_22K_16BIT_STEREO (22,050 samples per second, 16 bits per second, two channels (stereo)).
 O WaveFormat
  public WaveFormat(int format)
Constructs an instance of the WaveFormat class with the parameters indicated by a static value.
 O WaveFormat
  public WaveFormat(int formatTag,
                    int channels,
                    float samplesPerSec,
                    float avgBytesPerSec,
                    int blockAlign,
                    int bitsPerSample,
                    int info)
Constructs an instance of the WaveFormat class with the specified parameters.

METHODS

 O toString
  public String toString()
Returns a String representation of the StreamingSoundSourceDesc instance variables.
Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index
Free Web Hosting