Skip to main content

pamoja_quadrature_new

Function pamoja_quadrature_new 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_quadrature_new( a: bool, b: bool, ) -> *mut PamojaQuadrature
Expand description

Creates a quadrature decoder seeded with the encoder’s current channel levels.

§Arguments

  • a - the A channel’s level now.
  • b - the B channel’s level now.

§Returns

A decoder with a count of 0 the caller must release with pamoja_quadrature_free.

§Safety

The returned handle must be freed exactly once.