diff options
author | Lajos Molnar <lajos@google.com> | 2015-04-17 15:19:42 -0700 |
---|---|---|
committer | Lajos Molnar <lajos@google.com> | 2015-04-17 15:20:03 -0700 |
commit | f1063e2659cad01ec334a265c31734c63c319cc4 (patch) | |
tree | 9444deca08b86fec65754622ec06fbe551a06173 /media/libmedia/AudioTrack.cpp | |
parent | ee4e1b1a63758941460ae79a064249d3a5189443 (diff) | |
download | frameworks_av-f1063e2659cad01ec334a265c31734c63c319cc4.zip frameworks_av-f1063e2659cad01ec334a265c31734c63c319cc4.tar.gz frameworks_av-f1063e2659cad01ec334a265c31734c63c319cc4.tar.bz2 |
libmedia: fix all warning, make warnings errors, use clang
Change-Id: Ic00d2c5d0bbb1605e96666e25c9ccc22bea6d3ff
Diffstat (limited to 'media/libmedia/AudioTrack.cpp')
-rw-r--r-- | media/libmedia/AudioTrack.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/media/libmedia/AudioTrack.cpp b/media/libmedia/AudioTrack.cpp index 30d4355..055556f 100644 --- a/media/libmedia/AudioTrack.cpp +++ b/media/libmedia/AudioTrack.cpp @@ -1663,7 +1663,8 @@ nsecs_t AudioTrack::processAudioBuffer() // AudioSystem cache. We should not exit here but after calling the callback so // that the upper layers can recreate the track if (!isOffloadedOrDirect_l() || (mSequence == mObservedSequence)) { - status_t status = restoreTrack_l("processAudioBuffer"); + status_t status __unused = restoreTrack_l("processAudioBuffer"); + // FIXME unused status // after restoration, continue below to make sure that the loop and buffer events // are notified because they have been cleared from mCblk->mFlags above. } |