diff options
author | Eric Laurent <elaurent@google.com> | 2009-04-21 07:56:33 -0700 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2009-04-21 07:56:33 -0700 |
commit | 4dd495b72cbe8cf8df03f862e8e600ac14fdf30d (patch) | |
tree | d97cea1e77ee59dab375fed7e4efcb56b007028a /libs/audioflinger/AudioFlinger.h | |
parent | ecb28b3021825c7eb2ff65d7d5528e6acf9fc249 (diff) | |
download | frameworks_native-4dd495b72cbe8cf8df03f862e8e600ac14fdf30d.zip frameworks_native-4dd495b72cbe8cf8df03f862e8e600ac14fdf30d.tar.gz frameworks_native-4dd495b72cbe8cf8df03f862e8e600ac14fdf30d.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 'libs/audioflinger/AudioFlinger.h')
-rw-r--r-- | libs/audioflinger/AudioFlinger.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libs/audioflinger/AudioFlinger.h b/libs/audioflinger/AudioFlinger.h index db5cc74..c7ca9ec 100644 --- a/libs/audioflinger/AudioFlinger.h +++ b/libs/audioflinger/AudioFlinger.h @@ -501,7 +501,6 @@ private: MixerThread& operator = (const MixerThread&); status_t addTrack_l(const sp<Track>& track); - void removeTrack_l(wp<Track> track, int name); void destroyTrack_l(const sp<Track>& track); int getTrackName_l(); void deleteTrackName_l(int name); |