Click or drag to resize

AudioWaveFormat Methods

The AudioWaveFormat type exposes the following members.

Methods
 NameDescription
Public methodConvertLatencyToByteSize Gets the size of a wave buffer equivalent to the latency in milliseconds.
Public methodStatic memberCreateALawFormat Creates an A-law wave format
Public methodStatic memberCreateCustomFormat Creates a AudioWaveFormat with custom members
Public methodStatic memberCreateIeeeFloatWaveFormat Creates a new 32 bit IEEE floating point wave format
Public methodStatic memberCreateMuLawFormat Creates a Mu-law wave format
Public methodEquals Compares with another AudioWaveFormat object
(Overrides ObjectEquals(Object))
Public methodStatic memberFromFormatChunk Reads in a AudioWaveFormat (with extra data) from a fmt chunk (chunk identifier and length should already have been read)
Public methodGetHashCode Provides a Hashcode for this AudioWaveFormat
(Overrides ObjectGetHashCode)
Public methodStatic memberMarshalFromPtr Helper function to retrieve a AudioWaveFormat structure from a pointer
Public methodStatic memberMarshalToPtr Helper function to marshal AudioWaveFormat to an IntPtr
Public methodSerialize Writes this AudioWaveFormat object to a stream
Public methodToString Reports this AudioWaveFormat as a string
(Overrides ObjectToString)
Top
See Also