OSDN Git Service

Fix log spam when MonoPipe is unable to get local frequency
authorGlenn Kasten <gkasten@google.com>
Thu, 21 Nov 2013 21:54:25 +0000 (13:54 -0800)
committerGlenn Kasten <gkasten@google.com>
Tue, 25 Mar 2014 22:23:33 +0000 (15:23 -0700)
commit3f35eb55f0e2bc5a4dda7f58ed52654403a87efa
tree0aef3a05fa58a840a3289372c00e102bfaca6ce3
parent1392eb3d1802e9f894f87d7a7387207d1b6faca1
Fix log spam when MonoPipe is unable to get local frequency

Local frequency does not change, so only ask for it the first time a
MonoPipe is constructed in a given client process.  Thereafter use a
previously cached value.  Likewise, if the local frequency is unavailable,
only log this the first time.

Change-Id: Ib1fc7251c3832e02fe03811db39a87e500f1df50
media/libnbaio/MonoPipe.cpp