ff_meters
Add meter components to visualise AudioBuffers
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros Groups Pages
Macros
ff_meters.h File Reference

Macros

#define USE_FF_AUDIO_METERS   1
 
#define FF_AUDIO_ALLOW_ALLOCATIONS_IN_MEASURE_BLOCK   1
 Config: FF_AUDIO_ALLOW_ALLOCATIONS_IN_MEASURE_BLOCK If this flag is set, the measureBlock will conveniently adapt the number of ChannelData. More...
 

Macro Definition Documentation

#define USE_FF_AUDIO_METERS   1
#define FF_AUDIO_ALLOW_ALLOCATIONS_IN_MEASURE_BLOCK   1

Config: FF_AUDIO_ALLOW_ALLOCATIONS_IN_MEASURE_BLOCK If this flag is set, the measureBlock will conveniently adapt the number of ChannelData.

However this is not realtime safe and should be avoided. Instead call resize() in your prepareToPlay. This setting was default behaviour, that's why it is on by default, but will trigger a warning.