summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/Tracks.cpp
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2014-11-26 19:57:31 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-11-26 19:57:31 +0000
commit3458bb2356e711419487056fe1dd474e100466a3 (patch)
tree1373847b3427ae0d27b5a178e4bcf3ad43e5970e /services/audioflinger/Tracks.cpp
parent127d79425e668077baf1edbbfe80b344f522b7a6 (diff)
parent121143d5242a790d0bd01fe1b9cec5d28a1ba1d7 (diff)
downloadframeworks_av-3458bb2356e711419487056fe1dd474e100466a3.zip
frameworks_av-3458bb2356e711419487056fe1dd474e100466a3.tar.gz
frameworks_av-3458bb2356e711419487056fe1dd474e100466a3.tar.bz2
am 121143d5: am bf14c62e: am 72bf901c: Merge "audio policy: new getOutputForAttr() prototype." into lmp-mr1-dev
* commit '121143d5242a790d0bd01fe1b9cec5d28a1ba1d7': audio policy: new getOutputForAttr() prototype.
Diffstat (limited to 'services/audioflinger/Tracks.cpp')
-rw-r--r--services/audioflinger/Tracks.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/audioflinger/Tracks.cpp b/services/audioflinger/Tracks.cpp
index d59e68d..faea6ea 100644
--- a/services/audioflinger/Tracks.cpp
+++ b/services/audioflinger/Tracks.cpp
@@ -491,7 +491,7 @@ void AudioFlinger::PlaybackThread::Track::destroy()
wasActive = playbackThread->destroyTrack_l(this);
}
if (isExternalTrack() && !wasActive) {
- AudioSystem::releaseOutput(mThreadIoHandle);
+ AudioSystem::releaseOutput(mThreadIoHandle, mStreamType, (audio_session_t)mSessionId);
}
}
}