OSDN Git Service

Limit AudioFlinger log.
authorEric Laurent <elaurent@google.com>
Tue, 18 Oct 2011 22:42:27 +0000 (15:42 -0700)
committerEric Laurent <elaurent@google.com>
Tue, 18 Oct 2011 22:42:27 +0000 (15:42 -0700)
commit5c4e818c39ac2d2739675fe907904a874f7623c5
treeff76b413d5dad76388cd4afb267c3ee80c5f77b0
parent3c57859f03ce9257128e3b2cd29a906b8f9a6aa5
Limit AudioFlinger log.

AudioFlinger logs a warning when a write to the audio HAL
takes too long to return. The threshold for this warning is
a rule of thumb based on the assumption that the audio HAL will consume
buffers at a regular pace.
The introduction of low power audio mode with larger buffers and writes
occuring in bursts makes that this threshold is often exceeded resulting
in excessive and misleading warnings.

The threshold is raised to remove unwanted warnings but we should reconsider
the usefulness of this warning altogether.

Change-Id: I5ef6898ea28d879cede3e47da542a64092a3cca4
services/audioflinger/AudioFlinger.cpp