summaryrefslogtreecommitdiffstats
path: root/libs
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2009-07-28 06:11:55 -0700
committerEric Laurent <elaurent@google.com>2009-07-28 06:11:55 -0700
commitdd3fbf15f7af701b889c7acd4d5ab09522609858 (patch)
tree7c3552d92b68d80fe67bc6cdbfa560377b813522 /libs
parente2b066c5092ac5275037b2cd0a67463d8f42017e (diff)
downloadframeworks_base-dd3fbf15f7af701b889c7acd4d5ab09522609858.zip
frameworks_base-dd3fbf15f7af701b889c7acd4d5ab09522609858.tar.gz
frameworks_base-dd3fbf15f7af701b889c7acd4d5ab09522609858.tar.bz2
Fix issue 2004229: DTMF tones play through earpiece (G1).
Diffstat (limited to 'libs')
-rw-r--r--libs/audioflinger/AudioFlinger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/audioflinger/AudioFlinger.cpp b/libs/audioflinger/AudioFlinger.cpp
index 1336131..232ffb0 100644
--- a/libs/audioflinger/AudioFlinger.cpp
+++ b/libs/audioflinger/AudioFlinger.cpp
@@ -3443,8 +3443,8 @@ status_t AudioFlinger::setStreamOutput(uint32_t stream, void *output)
srcThread->getTracks(tracks, activeTracks, stream);
if (tracks.size()) {
dstThread->putTracks(tracks, activeTracks);
- dstThread->sendConfigEvent(AudioSystem::STREAM_CONFIG_CHANGED, stream);
}
+ dstThread->sendConfigEvent(AudioSystem::STREAM_CONFIG_CHANGED, stream);
}
}