BASS.NET API for the Un4seen BASS Audio LibraryWaveFormIsZeroCrossingFrame Method BASS.NET API for the Un4seen BASS Audio Library
Detects, if the two given positions reflect a zero crossing.

Namespace: Un4seen.Bass.Misc
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.12.0
Syntax

public bool IsZeroCrossingFrame(
	int pos1,
	int pos2
)

Parameters

pos1
Type: SystemInt32
The frame position1 (between 0 and FramesRendered) to check for zero crossing.
pos2
Type: SystemInt32
The frame position2 (between 0 and FramesRendered) to check for zero crossing.

Return Value

Type: Boolean
, if the given positions denote a crossing of a zero level of either the left or right channel - else .
See Also

Reference