[vlc-devel] [PATCHv2 2/9] aout: add the vlc_audio_meter API
Steve Lhomme
robux4 at ycbcr.xyz
Mon Aug 24 08:09:23 CEST 2020
On 2020-08-19 21:25, Thomas Guillem wrote:
> This API will be used by the aout, and could be used by any visualisation
> module needing audio measurements.
>
> This API allows to create "audio meter" filters plugins. This new type of
> filter is measuring audio blocks without modifying them and send the
> measurement via audio filters callbacks. These events are then propagated to
> vlc_audio_meter events.
This doesn't sound very accurate. For example if you pause and play you
get a value from blocks that will play in many ms ? I would prefer if
the meter value could be attached to the block or at least sent as a
timed stream (a new ES type ?). It could be turned to SPU accurately if
you want to display them. That makes visualization totally independent
of the metering algorithm.
More information about the vlc-devel
mailing list