summaryrefslogtreecommitdiffstats
path: root/media/libmedia
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2014-04-30 17:04:13 -0700
committerGlenn Kasten <gkasten@google.com>2014-04-30 17:04:53 -0700
commit877a0ac7e8677fa1cbd0e8565ad9d38ba0db5fc0 (patch)
treeebea0b6a1baa42f5992d4eed4d0b72b85c870b2f /media/libmedia
parentd1adad7acdff96f6518935214d93a655cc447570 (diff)
downloadframeworks_av-877a0ac7e8677fa1cbd0e8565ad9d38ba0db5fc0.zip
frameworks_av-877a0ac7e8677fa1cbd0e8565ad9d38ba0db5fc0.tar.gz
frameworks_av-877a0ac7e8677fa1cbd0e8565ad9d38ba0db5fc0.tar.bz2
Use AUDIO_INTERLEAVE_* constants
Change-Id: I6609fa75c9a57fc4ca3887d626a2f4fb8b6593a1
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);