diff options
author | Eric Laurent <elaurent@google.com> | 2012-05-01 19:31:12 -0700 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2012-06-05 12:50:16 -0700 |
commit | 67c0a58e05f4c19d4a6f01fe6f06267d57b49305 (patch) | |
tree | 0bfb89de1a57ad53abbd6314e6352538ab1a6317 /services/audioflinger/AudioPolicyService.cpp | |
parent | ab9071b8d1b375418eb797c9a790da71de644344 (diff) | |
download | frameworks_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/AudioPolicyService.cpp')
-rw-r--r-- | services/audioflinger/AudioPolicyService.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/services/audioflinger/AudioPolicyService.cpp b/services/audioflinger/AudioPolicyService.cpp index ca25ba9..0d13970 100644 --- a/services/audioflinger/AudioPolicyService.cpp +++ b/services/audioflinger/AudioPolicyService.cpp @@ -1375,7 +1375,6 @@ static audio_io_handle_t aps_open_output_on_module(void *service, ALOGW("%s: could not get AudioFlinger", __func__); return 0; } - ALOGW("%s: %d", __func__, module); return af->openOutput(module, pDevices, pSamplingRate, pFormat, pChannelMask, pLatencyMs, flags); } |