diff options
author | Glenn Kasten <gkasten@google.com> | 2015-07-22 09:15:17 -0700 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2015-07-22 12:20:43 -0700 |
commit | eb9487e10294a4e73977f460f30eeaff503acd21 (patch) | |
tree | fdd7dfd6fd2074f9d0684ed9b11dd851dc469d50 /services/audioflinger/AudioFlinger.h | |
parent | 8f0547a954b39d5750488be7e060ebe1ebfdf666 (diff) | |
download | frameworks_av-eb9487e10294a4e73977f460f30eeaff503acd21.zip frameworks_av-eb9487e10294a4e73977f460f30eeaff503acd21.tar.gz frameworks_av-eb9487e10294a4e73977f460f30eeaff503acd21.tar.bz2 |
Fix capture overruns at non-primary sample rate
and small buffer size. Also:
Pull out the magic number "12 ms" to a named constant.
Remove obsolete AudioFlinger::mPrimaryOutputSampleRate.
Bug: 22662814
Change-Id: I261f75a222c4505a84aad2493d251bd2dea59f68
Diffstat (limited to 'services/audioflinger/AudioFlinger.h')
-rw-r--r-- | services/audioflinger/AudioFlinger.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/services/audioflinger/AudioFlinger.h b/services/audioflinger/AudioFlinger.h index 4f7e27d..20c34ef 100644 --- a/services/audioflinger/AudioFlinger.h +++ b/services/audioflinger/AudioFlinger.h @@ -763,9 +763,7 @@ private: sp<PatchPanel> mPatchPanel; - uint32_t mPrimaryOutputSampleRate; // sample rate of the primary output, or zero if none - // protected by mHardwareLock - bool mSystemReady; + bool mSystemReady; }; #undef INCLUDING_FROM_AUDIOFLINGER_H |