Commit 276fa43
Eric Laurent
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: I5ef6898ea28d879cede3e47da542a64092a3cca41 parent 11116b8 commit 276fa43
1 file changed
+7
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1832 | 1832 | | |
1833 | 1833 | | |
1834 | 1834 | | |
1835 | | - | |
| 1835 | + | |
| 1836 | + | |
| 1837 | + | |
1836 | 1838 | | |
1837 | 1839 | | |
1838 | 1840 | | |
| |||
1886 | 1888 | | |
1887 | 1889 | | |
1888 | 1890 | | |
1889 | | - | |
| 1891 | + | |
| 1892 | + | |
| 1893 | + | |
1890 | 1894 | | |
1891 | 1895 | | |
1892 | 1896 | | |
| |||
1983 | 1987 | | |
1984 | 1988 | | |
1985 | 1989 | | |
1986 | | - | |
| 1990 | + | |
1987 | 1991 | | |
1988 | 1992 | | |
1989 | 1993 | | |
| |||
0 commit comments