summaryrefslogtreecommitdiffstats
path: root/media/libmedia/IAudioFlingerClient.cpp
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2009-04-21 07:56:33 -0700
committerEric Laurent <elaurent@google.com>2009-04-21 07:56:33 -0700
commit1dd70b9f04961a06fcb73a97fca10a53b3245d3c (patch)
treea2704fd75e6de04107a7d40bd3e56f6f7acfa51b /media/libmedia/IAudioFlingerClient.cpp
parentce80c82f58378da72d8a36f520c781cc5cac18a1 (diff)
downloadframeworks_av-1dd70b9f04961a06fcb73a97fca10a53b3245d3c.zip
frameworks_av-1dd70b9f04961a06fcb73a97fca10a53b3245d3c.tar.gz
frameworks_av-1dd70b9f04961a06fcb73a97fca10a53b3245d3c.tar.bz2
Fix issue 1745312: Various cleanups in media framework
AudioTrack, AudioRecord: - remove useless mAudioFlinger member of AudioTrack and AudioRecord. - signal cblk.cv condition in stop() method to speed up stop completion. - extend wait condition timeout in obtainBuffer() when waitCount is -1 to avoid waking up callback thread unnecessarily AudioFlinger: - remove some warnings in AudioFlinger.cpp. - remove function AudioFlinger::MixerThread::removetrack_l() as its content is never executed. - remove useless call to setMasterVolume in AudioFlinger::handleForcedSpeakerRoute(). - Offset VOICE_CALL stream volume to reflect actual volume that is never 0 in hardware (this fix has been made in the open source): 0.01 + v * 0.99. AudioSystem.java: - correct typo in comment IAudioflinger, IAudioFlingerClient: - make AudioFlinger binder interfaces used for callbacks ONEWAY. AudioHardwareInterface: - correct routeStrings[] table in AudioHardwareInteface.cpp
Diffstat (limited to 'media/libmedia/IAudioFlingerClient.cpp')
-rw-r--r--media/libmedia/IAudioFlingerClient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libmedia/IAudioFlingerClient.cpp b/media/libmedia/IAudioFlingerClient.cpp
index 5feb11f..9d00aef 100644
--- a/media/libmedia/IAudioFlingerClient.cpp
+++ b/media/libmedia/IAudioFlingerClient.cpp
@@ -43,7 +43,7 @@ public:
Parcel data, reply;
data.writeInterfaceToken(IAudioFlingerClient::getInterfaceDescriptor());
data.writeInt32((int)enabled);
- remote()->transact(AUDIO_OUTPUT_CHANGED, data, &reply);
+ remote()->transact(AUDIO_OUTPUT_CHANGED, data, &reply, IBinder::FLAG_ONEWAY);
}
};