26#if !defined(_SPANDSP_POWER_METER_H_)
27#define _SPANDSP_POWER_METER_H_
52#if defined(__cplusplus)
132#if defined(__cplusplus)
int32_t power_meter_current(power_meter_t *s)
Get the current power meter reading.
Definition: power_meter.c:122
int32_t power_meter_level_dbm0(float level)
Get the current power meter reading, in dBm0.
Definition: power_meter.c:99
int32_t power_meter_level_dbov(float level)
Get the current power meter reading, in dBOv.
Definition: power_meter.c:111
int32_t power_meter_update(power_meter_t *s, int16_t amp)
Update a power meter.
Definition: power_meter.c:92
float power_surge_detector_current_dbm0(power_surge_detector_state_t *s)
Get the current surge detector meter reading, in dBm0.
Definition: power_meter.c:174
float power_surge_detector_current_dbov(power_surge_detector_state_t *s)
Get the current surge detector meter reading, in dBOv.
Definition: power_meter.c:180
power_meter_t * power_meter_init(power_meter_t *s, int shift)
Initialise a power meter context.
Definition: power_meter.c:58
float power_meter_current_dbm0(power_meter_t *s)
Get the current power meter reading, in dBm0.
Definition: power_meter.c:128
float power_meter_current_dbov(power_meter_t *s)
Get the current power meter reading, in dBOv.
Definition: power_meter.c:137
power_meter_t * power_meter_damping(power_meter_t *s, int shift)
Change the damping factor of a power meter context.
Definition: power_meter.c:85
Definition: private/power_meter.h:34
Definition: private/power_meter.h:43