Alvas.Audio Class Library

AudioCompressionManager.RemoveDcOffset Method (IntPtr, Byte[], Int16)

Removes DC offset. DC offset is an offsetting of a signal from zero. Occurs when hardware, such as a sound card, adds DC offset to a recorded audio signal.

[Visual Basic]
Overloads Public Shared Function RemoveDcOffset( _
   ByVal format As IntPtr, _
   ByVal data As Byte(), _
   ByVal offset As Short _
) As Byte()
[C#]
public static byte[] RemoveDcOffset(
   IntPtr format,
   Byte[] data,
   Int16 offset
);

Parameters

format
audio format
data
audio data
offset
If the value is 0, the DC offset will be calculated automatically; otherwise, the specified value is used.

Return Value

See Also

AudioCompressionManager Class | Alvas.Audio Namespace | AudioCompressionManager.RemoveDcOffset Overload List