#include <inttypes.h>
#include <stdlib.h>
#include <stdio.h>
#include <fcntl.h>
#include <string.h>
#include <float.h>
#include <assert.h>
#include "spandsp/telephony.h"
#include "spandsp/power_meter.h"
Functions | |
power_meter_t * | power_meter_init (power_meter_t *s, int shift) |
Initialise a power meter context. | |
power_meter_t * | power_meter_damping (power_meter_t *s, int shift) |
Change the damping factor of a power meter context. | |
int32_t | power_meter_update (power_meter_t *s, int16_t amp) |
Update a power meter. | |
int32_t | power_meter_level_dbm0 (float level) |
Get the current power meter reading, in dBm0. | |
int32_t | power_meter_level_dbov (float level) |
Get the current power meter reading, in dBOv. | |
int32_t | power_meter_current (power_meter_t *s) |
Get the current power meter reading. | |
float | power_meter_current_dbm0 (power_meter_t *s) |
Get the current power meter reading, in dBm0. | |
float | power_meter_current_dbov (power_meter_t *s) |
Get the current power meter reading, in dBOv. |
|
Get the current power meter reading. Get the current power meter reading.
|
|
Get the current power meter reading, in dBm0. Get the current power meter reading, in dBm0.
|
|
Get the current power meter reading, in dBOv. Get the current power meter reading, in dBOv.
|
|
Change the damping factor of a power meter context. Change the damping factor of a power meter context.
|
|
Initialise a power meter context. Initialise a power meter context.
|
|
Get the current power meter reading, in dBm0. Get the power meter reading which represents a specified power level in dBm0.
|
|
Get the current power meter reading, in dBOv. Get the power meter reading which represents a specified power level in dBOv.
|
|
Update a power meter. Update a power meter.
|