summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/Tracks.cpp
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2014-07-18 15:31:02 -0700
committerGlenn Kasten <gkasten@google.com>2014-07-18 15:32:41 -0700
commit529c61b7e4468a3e21f302f2a92a660249daa722 (patch)
tree26133aeea97d8ea2d564a6ff0193e471c575914f /services/audioflinger/Tracks.cpp
parentada688878122d6504cccebb9121f9d4f8f701e38 (diff)
downloadframeworks_av-529c61b7e4468a3e21f302f2a92a660249daa722.zip
frameworks_av-529c61b7e4468a3e21f302f2a92a660249daa722.tar.gz
frameworks_av-529c61b7e4468a3e21f302f2a92a660249daa722.tar.bz2
Fix copy/paste bug
introduced by Change-Id: I4e9b7fa99858b488ac98a441fa70e31dbba1b865 Change-Id: I9a0c8800f5cf3767cc259776f95c96cad972e392
Diffstat (limited to 'services/audioflinger/Tracks.cpp')
-rw-r--r--services/audioflinger/Tracks.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/services/audioflinger/Tracks.cpp b/services/audioflinger/Tracks.cpp
index eb3e6b4..af761e4 100644
--- a/services/audioflinger/Tracks.cpp
+++ b/services/audioflinger/Tracks.cpp
@@ -1630,12 +1630,11 @@ AudioFlinger::PlaybackThread::OutputTrack::OutputTrack(
frameCount, mChannelMask);
// since client and server are in the same process,
// the buffer has the same virtual address on both sides
- mClientProxy = new AudioTrackClientProxy(mCblk, mBuffer, mFrameCount, mFrameSize);
+ mClientProxy = new AudioTrackClientProxy(mCblk, mBuffer, mFrameCount, mFrameSize,
+ true /*clientInServer*/);
mClientProxy->setVolumeLR(GAIN_MINIFLOAT_PACKED_UNITY);
mClientProxy->setSendLevel(0.0);
mClientProxy->setSampleRate(sampleRate);
- mClientProxy = new AudioTrackClientProxy(mCblk, mBuffer, mFrameCount, mFrameSize,
- true /*clientInServer*/);
} else {
ALOGW("Error creating output track on thread %p", playbackThread);
}