MMAL_3-15-2015
MMAL_PARAMETER_AUDIO_LATENCY_TARGET_T Struct Reference

#include <mmal_parameters_audio.h>

Public Attributes

MMAL_PARAMETER_HEADER_T hdr
 
MMAL_BOOL_T enable
 
uint32_t filter
 
uint32_t target
 
uint32_t shift
 
int32_t speed_factor
 
int32_t inter_factor
 
int32_t adj_cap
 

Detailed Description

Audio latency target to maintain. These settings are used to adjust the clock speed in order to match the measured audio latency to a specified value.

Member Data Documentation

int32_t MMAL_PARAMETER_AUDIO_LATENCY_TARGET_T::adj_cap

limit for speed change before nSpeedFactor is applied, good value: 100

MMAL_BOOL_T MMAL_PARAMETER_AUDIO_LATENCY_TARGET_T::enable

whether this mode is enabled

uint32_t MMAL_PARAMETER_AUDIO_LATENCY_TARGET_T::filter

number of latency samples to filter on, good value: 1

int32_t MMAL_PARAMETER_AUDIO_LATENCY_TARGET_T::inter_factor

divider for comparing latency versus gradiant, good value: 300

uint32_t MMAL_PARAMETER_AUDIO_LATENCY_TARGET_T::shift

shift for storing latency values, good value: 7

int32_t MMAL_PARAMETER_AUDIO_LATENCY_TARGET_T::speed_factor

multiplier for speed changes, in 24.8 format, good value: 256-512

uint32_t MMAL_PARAMETER_AUDIO_LATENCY_TARGET_T::target

target latency (microseconds)


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