summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/AudioFlinger.h
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2012-05-01 19:31:12 -0700
committerEric Laurent <elaurent@google.com>2012-06-05 12:50:16 -0700
commit67c0a58e05f4c19d4a6f01fe6f06267d57b49305 (patch)
tree0bfb89de1a57ad53abbd6314e6352538ab1a6317 /services/audioflinger/AudioFlinger.h
parentab9071b8d1b375418eb797c9a790da71de644344 (diff)
downloadframeworks_av-67c0a58e05f4c19d4a6f01fe6f06267d57b49305.zip
frameworks_av-67c0a58e05f4c19d4a6f01fe6f06267d57b49305.tar.gz
frameworks_av-67c0a58e05f4c19d4a6f01fe6f06267d57b49305.tar.bz2
audioflinger: various fixes on direct output
Various fixes in direct output playback thread implementation: - threadLoop_write() was broken for playback threads that do not use a pipe sink. - output buffer size calculation was hard coded for stereo. - removed software volume that was implemented for PCM stereo format only: the audio HAL has to implement volume if needed for direct outputs. Change-Id: If211b4489be9af395435707b8cf0388cce1347b2
Diffstat (limited to 'services/audioflinger/AudioFlinger.h')
-rw-r--r--services/audioflinger/AudioFlinger.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/services/audioflinger/AudioFlinger.h b/services/audioflinger/AudioFlinger.h
index 6da5802..a0e0ea5 100644
--- a/services/audioflinger/AudioFlinger.h
+++ b/services/audioflinger/AudioFlinger.h
@@ -1211,17 +1211,8 @@ public:
virtual void threadLoop_sleepTime();
// volumes last sent to audio HAL with stream->set_volume()
- // FIXME use standard representation and names
float mLeftVolFloat;
float mRightVolFloat;
- uint16_t mLeftVolShort;
- uint16_t mRightVolShort;
-
- // FIXME rename these former local variables of threadLoop to standard names
- // next 3 were local to the while !exitingPending loop
- bool rampVolume;
- uint16_t leftVol;
- uint16_t rightVol;
private:
// prepareTracks_l() tells threadLoop_mix() the name of the single active track