| AudioWaveFormat Class |
Namespace: Ozeki.Media
The AudioWaveFormat type exposes the following members.
| Name | Description | |
|---|---|---|
| AudioWaveFormat |
Creates a new PCM 44.1Khz stereo 16 bit format
| |
| AudioWaveFormat(BinaryReader) |
Reads a new AudioWaveFormat object from a stream
| |
| AudioWaveFormat(Int32, Int32) |
Creates a new 16 bit wave format with the specified sample
rate and channel count
| |
| AudioWaveFormat(Int32, Int32, Int32) |
Creates a new PCM format with the specified sample rate, bit depth and channels
|
| Name | Description | |
|---|---|---|
| ConvertLatencyToByteSize |
Gets the size of a wave buffer equivalent to the latency in milliseconds.
| |
| CreateALawFormat |
Creates an A-law wave format
| |
| CreateCustomFormat |
Creates a AudioWaveFormat with custom members
| |
| CreateIeeeFloatWaveFormat |
Creates a new 32 bit IEEE floating point wave format
| |
| CreateMuLawFormat |
Creates a Mu-law wave format
| |
| Equals |
Compares with another AudioWaveFormat object
(Overrides ObjectEquals(Object).) | |
| FromFormatChunk |
Reads in a AudioWaveFormat (with extra data) from a fmt chunk (chunk identifier and
length should already have been read)
| |
| GetHashCode |
Provides a Hashcode for this AudioWaveFormat
(Overrides ObjectGetHashCode.) | |
| MarshalFromPtr |
Helper function to retrieve a AudioWaveFormat structure from a pointer
| |
| MarshalToPtr |
Helper function to marshal AudioWaveFormat to an IntPtr
| |
| Serialize |
Writes this AudioWaveFormat object to a stream
| |
| ToString |
Reports this AudioWaveFormat as a string
(Overrides ObjectToString.) |
| Name | Description | |
|---|---|---|
| AverageBytesPerSecond |
Returns the average number of bytes used per second
| |
| BitsPerSample |
Returns the number of bits per sample (usually 16 or 32, sometimes 24 or 8)
Can be 0 for some codecs
| |
| BlockAlign |
Returns the block alignment
| |
| Channels |
Returns the number of channels (1=mono,2=stereo etc)
| |
| Encoding |
Returns the encoding type used
| |
| ExtraSize |
Returns the number of extra bytes used by this waveformat. Often 0,
except for compressed formats which store extra data after the WAVEFORMATEX header
| |
| SampleRate |
Returns the sample rate (samples per second)
| |
| WaveFormatTag | format type |