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
-
PCM_11K_16BIT_MONO
- Refers to an audio format.
-
PCM_11K_16BIT_STEREO
- Refers to an audio format.
-
PCM_11K_8BIT_MONO
- Refers to an audio format.
-
PCM_11K_8BIT_STEREO
- Refers to an audio format.
-
PCM_22K_16BIT_MONO
- Refers to an audio format.
-
PCM_22K_16BIT_STEREO
- Refers to an audio format.
-
PCM_22K_8BIT_MONO
- Refers to an audio format.
-
PCM_22K_8BIT_STEREO
- Refers to an audio format.
-
PCM_44K_16BIT_MONO
- Refers to an audio format.
-
PCM_44K_16BIT_STEREO
- Refers to an audio format.
-
PCM_44K_8BIT_MONO
- Refers to an audio format.
-
PCM_44K_8BIT_STEREO
- Refers to an audio format.
-
PCM_8K_16BIT_MONO
- Refers to an audio format.
-
PCM_8K_16BIT_STEREO
- Refers to an audio format.
-
PCM_8K_8BIT_MONO
- Refers to an audio format.
-
PCM_8K_8BIT_STEREO
- Refers to an audio format.
-
WAVE_FORMAT_PCM
- Refers to an audio format.
-
WaveFormat()
- Constructs an instance of the WaveFormat class with the default parameters.
-
WaveFormat(int)
- Constructs an instance of the WaveFormat class with the parameters indicated by
a static value.
-
WaveFormat(int, int, float, float, int, int, int)
- Constructs an instance of the WaveFormat class with the specified parameters.
-
toString()
- Returns a String representation of the StreamingSoundSourceDesc instance variables.
PCM_44K_16BIT_STEREO
public final static int PCM_44K_16BIT_STEREO
- Refers to an audio format.
PCM_22K_16BIT_STEREO
public final static int PCM_22K_16BIT_STEREO
- Refers to an audio format.
PCM_11K_16BIT_STEREO
public final static int PCM_11K_16BIT_STEREO
- Refers to an audio format.
PCM_8K_16BIT_STEREO
public final static int PCM_8K_16BIT_STEREO
- Refers to an audio format.
PCM_44K_8BIT_STEREO
public final static int PCM_44K_8BIT_STEREO
- Refers to an audio format.
PCM_22K_8BIT_STEREO
public final static int PCM_22K_8BIT_STEREO
- Refers to an audio format.
PCM_11K_8BIT_STEREO
public final static int PCM_11K_8BIT_STEREO
- Refers to an audio format.
PCM_8K_8BIT_STEREO
public final static int PCM_8K_8BIT_STEREO
- Refers to an audio format.
PCM_44K_16BIT_MONO
public final static int PCM_44K_16BIT_MONO
- Refers to an audio format.
PCM_22K_16BIT_MONO
public final static int PCM_22K_16BIT_MONO
- Refers to an audio format.
PCM_11K_16BIT_MONO
public final static int PCM_11K_16BIT_MONO
- Refers to an audio format.
PCM_8K_16BIT_MONO
public final static int PCM_8K_16BIT_MONO
- Refers to an audio format.
PCM_44K_8BIT_MONO
public final static int PCM_44K_8BIT_MONO
- Refers to an audio format.
PCM_22K_8BIT_MONO
public final static int PCM_22K_8BIT_MONO
- Refers to an audio format.
PCM_11K_8BIT_MONO
public final static int PCM_11K_8BIT_MONO
- Refers to an audio format.
PCM_8K_8BIT_MONO
public final static int PCM_8K_8BIT_MONO
- Refers to an audio format.
WAVE_FORMAT_PCM
public final static int WAVE_FORMAT_PCM
- Refers to an audio format.
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)).
WaveFormat
public WaveFormat(int format)
- Constructs an instance of the WaveFormat class with the parameters indicated by
a static value.
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.
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