audio_manager_clear_stat_counter()

Clear the statistic counter of a given statistic entry name.

Synopsis:

#include <audio/audio_manager_volume.h>
 
int audio_manager_clear_stat_counter(const char *name)

Arguments:

name

The name of the statistic entry to clear.

Library:

libaudio_manager

Description:

The audio_manager_clear_stat_counter() function clears the counter of the given statistic entry.

A process must have either an effective user ID of root, or the authman capability of access_audio_manager, to use this function.

Returns:

EOK upon success, negative errno upon failure.