Main Page | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

power_meter.c File Reference

#include <inttypes.h>
#include <stdlib.h>
#include <stdio.h>
#include <fcntl.h>
#include <string.h>
#include <float.h>
#include "floating_fudge.h"
#include <assert.h>
#include "spandsp/telephony.h"
#include "spandsp/power_meter.h"

Functions

 SPAN_DECLARE (power_meter_t *)
 Change the damping factor of a power meter context.
 SPAN_DECLARE (int)
 Release a V.8 context.
 SPAN_DECLARE (float)
 Evaluate the final result of a Goertzel transform.

Detailed Description


Function Documentation

SPAN_DECLARE float   ) 
 

Evaluate the final result of a Goertzel transform.

Parameters:
phase_rate The phase rate.
Returns:
The equivalent frequency, in Hz.

SPAN_DECLARE int   ) 
 

Release a V.8 context.

Parameters:
s The ADSI receive context.
amp The audio sample buffer.
len The number of samples in the buffer.
Returns:
The number of samples unprocessed.

SPAN_DECLARE power_meter_t  ) 
 

Change the damping factor of a power meter context.

Change the damping factor of a power meter context.

Parameters:
s The power meter context.
shift The new shift to be used by the IIR filter.
Returns:
The power meter context.


Generated on Fri Aug 28 20:12:28 2009 for spandsp by  doxygen 1.3.9.1