summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2013-08-19 09:58:50 -0700
committerGlenn Kasten <gkasten@google.com>2013-11-04 15:33:10 -0800
commite6f35b13567d920af19f0b8dc35f9120b7cf1dc9 (patch)
treef70cbfa9c6334248416bae35886cb2cd7fdc2671 /services
parentd21952fe5bc94f7bb6ee729f806c0e641fdb1a0d (diff)
downloadframeworks_av-e6f35b13567d920af19f0b8dc35f9120b7cf1dc9.zip
frameworks_av-e6f35b13567d920af19f0b8dc35f9120b7cf1dc9.tar.gz
frameworks_av-e6f35b13567d920af19f0b8dc35f9120b7cf1dc9.tar.bz2
Rename TrackPaused to trackPaused
Change-Id: I3b38e0c9a6bbb6e18cb5b1f72670139a3071cb8f
Diffstat (limited to 'services')
-rw-r--r--services/audioflinger/Threads.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/services/audioflinger/Threads.cpp b/services/audioflinger/Threads.cpp
index ef90952..d6144ad 100644
--- a/services/audioflinger/Threads.cpp
+++ b/services/audioflinger/Threads.cpp
@@ -4156,15 +4156,15 @@ bool AudioFlinger::OffloadThread::waitingAsyncCallback_l()
// must be called with thread mutex locked
bool AudioFlinger::OffloadThread::shouldStandby_l()
{
- bool TrackPaused = false;
+ bool trackPaused = false;
// do not put the HAL in standby when paused. AwesomePlayer clear the offloaded AudioTrack
// after a timeout and we will enter standby then.
if (mTracks.size() > 0) {
- TrackPaused = mTracks[mTracks.size() - 1]->isPaused();
+ trackPaused = mTracks[mTracks.size() - 1]->isPaused();
}
- return !mStandby && !TrackPaused;
+ return !mStandby && !trackPaused;
}