Click or drag to resize
AudioFormat Class
Defines format information of audio data.
Inheritance Hierarchy
SystemObject
  Ozeki.MediaAudioFormat

Namespace: Ozeki.Media
Assembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax
public class AudioFormat

The AudioFormat type exposes the following members.

Constructors
  NameDescription
Public methodAudioFormat
Initializes a new instance of the AudioFormat class with default values. (8000 Hz, 16 bit, mono)
Public methodAudioFormat(AudioType)
Initializes a new instance of the AudioFormat class with default values. (8000 Hz, 16 bit, mono)
Public methodAudioFormat(Int32, Int32, Int32)
Initializes a new instance of the AudioFormat class.
Public methodAudioFormat(Int32, Int32, Int32, AudioType)
Initializes a new instance of the AudioFormat class.
Public methodAudioFormat(Int32, Int32, Int32, Int32)
Initializes a new instance of the AudioFormat class.
Public methodAudioFormat(Int32, Int32, Int32, Int32, AudioType, Int32, String)
Initializes a new instance of the AudioFormat class.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified AudioFormat is equal to the current AudioFormat.
(Overrides ObjectEquals(Object).)
Public methodGetByteSize
Specifies that the size of audio data of the given audio type in bytes
Public methodGetHashCode
Serves as a hash function for a particular type.
(Overrides ObjectGetHashCode.)
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Public operatorStatic memberInequality
Top
Extension Methods
  NameDescription
Public Extension MethodAsWaveFormat
Converts a AudioFormat to a WaveFormat.
(Defined by WaveFormatEx.)
Public Extension MethodGetAudioCodecBitrate (Defined by ExAudioFormat.)
Top
Properties
  NameDescription
Public propertyAudioCodecBitrate
Gets the bitrate of the vocoder the data encoded with.
Public propertyAudioCodecType
Gets the codec type of data.
Public propertyBitRate
Gets the bitrate of the sample.
Public propertyChannels
Gets the number of channels.
Public propertympeg4_aac_conf
Public propertyPacketizationTime
Gets the packetization time.
Public propertySampleRate
Gets the sample rate, in samples per second (hertz).
Top
See Also