summaryrefslogtreecommitdiffstats
path: root/media/libmedia
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2014-05-01 22:53:51 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-05-01 22:53:52 +0000
commit33ddcb6f1049cb4b6c71bb7ea605375f9492601d (patch)
treebcacaacc4826f9fb40e2acf99cbac5dd65a9bb74 /media/libmedia
parent8710fb4b39e1807a5f2a4486fe0b140129b3618d (diff)
parent877a0ac7e8677fa1cbd0e8565ad9d38ba0db5fc0 (diff)
downloadframeworks_av-33ddcb6f1049cb4b6c71bb7ea605375f9492601d.zip
frameworks_av-33ddcb6f1049cb4b6c71bb7ea605375f9492601d.tar.gz
frameworks_av-33ddcb6f1049cb4b6c71bb7ea605375f9492601d.tar.bz2
Merge "Use AUDIO_INTERLEAVE_* constants"
Diffstat (limited to 'media/libmedia')
-rw-r--r--media/libmedia/AudioTrack.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libmedia/AudioTrack.cpp b/media/libmedia/AudioTrack.cpp
index fbfd3da..8daf08b 100644
--- a/media/libmedia/AudioTrack.cpp
+++ b/media/libmedia/AudioTrack.cpp
@@ -1820,7 +1820,7 @@ status_t AudioTrack::dump(int fd, const Vector<String16>& args __unused) const
result.append(" AudioTrack::dump\n");
snprintf(buffer, 255, " stream type(%d), left - right volume(%f, %f)\n", mStreamType,
- mVolume[0], mVolume[1]);
+ mVolume[AUDIO_INTERLEAVE_LEFT], mVolume[AUDIO_INTERLEAVE_RIGHT]);
result.append(buffer);
snprintf(buffer, 255, " format(%d), channel count(%d), frame count(%zu)\n", mFormat,
mChannelCount, mFrameCount);