LV2  1.0.13
Data Fields
LV2UI_Peak_Data Struct Reference

Peak data for a slice of time, the update format for ui:peakProtocol. More...

Data Fields

uint32_t period_start
 The start of the measurement period. More...
 
uint32_t period_size
 The size of the measurement period, in the same units as period_start. More...
 
float peak
 The peak value for the measurement period. More...
 

Detailed Description

Peak data for a slice of time, the update format for ui:peakProtocol.

Field Documentation

uint32_t LV2UI_Peak_Data::period_start

The start of the measurement period.

This is just a running counter that is only meaningful in comparison to previous values and must not be interpreted as an absolute time.

uint32_t LV2UI_Peak_Data::period_size

The size of the measurement period, in the same units as period_start.

float LV2UI_Peak_Data::peak

The peak value for the measurement period.

This should be the maximal value for abs(sample) over all the samples in the period.


The documentation for this struct was generated from the following file: