AudioCompressionManagerRemoveDcOffset 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.
Namespace: Alvas.AudioAssembly: Alvas.Audio (in Alvas.Audio.dll) Version: 2016.0.6173.41573
Syntax public static byte[] RemoveDcOffset(
IntPtr format,
byte[] data,
short offset
)
Public Shared Function RemoveDcOffset (
format As IntPtr,
data As Byte(),
offset As Short
) As Byte()
public:
static array<unsigned char>^ RemoveDcOffset(
IntPtr format,
array<unsigned char>^ data,
short offset
)
Parameters
- format
- Type: SystemIntPtr
audio format - data
- Type: SystemByte
audio data - offset
- Type: SystemInt16
If the value is 0, the DC offset will be calculated automatically; otherwise, the specified value is used.
Return Value
Type:
Byte[Missing <returns> documentation for "M:Alvas.Audio.AudioCompressionManager.RemoveDcOffset(System.IntPtr,System.Byte[],System.Int16)"]
See Also