summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/AudioFlinger.cpp
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2014-02-03 07:40:31 -0800
committerGlenn Kasten <gkasten@google.com>2014-02-28 12:06:05 -0800
commitd2304db2fcb5112292105a0949a55986a4c9875f (patch)
treefe2723acf4c0eebcc39443769ab8b48840ddb48e /services/audioflinger/AudioFlinger.cpp
parent33ca5cf8826f5fcd9c011e8d336138b62d982f2a (diff)
downloadframeworks_av-d2304db2fcb5112292105a0949a55986a4c9875f.zip
frameworks_av-d2304db2fcb5112292105a0949a55986a4c9875f.tar.gz
frameworks_av-d2304db2fcb5112292105a0949a55986a4c9875f.tar.bz2
Rename setStreamOutput to invalidateStream
And simplify by removing the unused I/O handle parameter 'output'. Change-Id: Ie9c4df17a7378066312d4ed8790fda7a9125c95e
Diffstat (limited to 'services/audioflinger/AudioFlinger.cpp')
-rw-r--r--services/audioflinger/AudioFlinger.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/services/audioflinger/AudioFlinger.cpp b/services/audioflinger/AudioFlinger.cpp
index db81ff0..92ee30e 100644
--- a/services/audioflinger/AudioFlinger.cpp
+++ b/services/audioflinger/AudioFlinger.cpp
@@ -1940,10 +1940,10 @@ status_t AudioFlinger::closeInput_nonvirtual(audio_io_handle_t input)
return NO_ERROR;
}
-status_t AudioFlinger::setStreamOutput(audio_stream_type_t stream, audio_io_handle_t output)
+status_t AudioFlinger::invalidateStream(audio_stream_type_t stream)
{
Mutex::Autolock _l(mLock);
- ALOGV("setStreamOutput() stream %d to output %d", stream, output);
+ ALOGV("invalidateStream() stream %d", stream);
for (size_t i = 0; i < mPlaybackThreads.size(); i++) {
PlaybackThread *thread = mPlaybackThreads.valueAt(i).get();