diff options
author | Glenn Kasten <gkasten@google.com> | 2015-01-26 16:35:47 -0800 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2015-03-13 16:22:16 -0700 |
commit | f59497bd3c190e087202043de5450ef06e92b27d (patch) | |
tree | 52ff88a5a4bd358358850e0ca16d0f9527fded4e /services/audioflinger | |
parent | 802a568f77b9a372537e4216b2a7cbb203958a87 (diff) | |
download | frameworks_av-f59497bd3c190e087202043de5450ef06e92b27d.zip frameworks_av-f59497bd3c190e087202043de5450ef06e92b27d.tar.gz frameworks_av-f59497bd3c190e087202043de5450ef06e92b27d.tar.bz2 |
Update comments
Change-Id: I37d3c4ce22b74fe8581a886fe5a7f9fef8266dad
Diffstat (limited to 'services/audioflinger')
-rw-r--r-- | services/audioflinger/FastMixer.cpp | 1 | ||||
-rw-r--r-- | services/audioflinger/Threads.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/services/audioflinger/FastMixer.cpp b/services/audioflinger/FastMixer.cpp index e070f90..f1cf0aa 100644 --- a/services/audioflinger/FastMixer.cpp +++ b/services/audioflinger/FastMixer.cpp @@ -415,6 +415,7 @@ void FastMixer::onWork() memset(mMixerBuffer, 0, mMixerBufferSize); mMixerBufferState = ZEROED; } + // prepare the buffer used to write to sink void *buffer = mSinkBuffer != NULL ? mSinkBuffer : mMixerBuffer; if (mFormat.mFormat != mMixerBufferFormat) { // sink format not the same as mixer format memcpy_by_audio_format(buffer, mFormat.mFormat, mMixerBuffer, mMixerBufferFormat, diff --git a/services/audioflinger/Threads.h b/services/audioflinger/Threads.h index 9350e48..d600ea9 100644 --- a/services/audioflinger/Threads.h +++ b/services/audioflinger/Threads.h @@ -427,7 +427,7 @@ protected: bool mStandby; // Whether thread is currently in standby. audio_devices_t mOutDevice; // output device audio_devices_t mInDevice; // input device - audio_source_t mAudioSource; // (see audio.h, audio_source_t) + audio_source_t mAudioSource; const audio_io_handle_t mId; Vector< sp<EffectChain> > mEffectChains; |