summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/AudioFlinger.h
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2012-11-07 14:03:00 -0800
committerGlenn Kasten <gkasten@google.com>2012-11-14 11:58:17 -0800
commit22eb4e239fbe9103568147d566d7482e480350b8 (patch)
tree132fa6ac8c0bc47fd6d3b1cc67d1724dc3b939a2 /services/audioflinger/AudioFlinger.h
parent2d81f665461409f0c5d0be674a35a0aea63a4fc8 (diff)
downloadframeworks_av-22eb4e239fbe9103568147d566d7482e480350b8.zip
frameworks_av-22eb4e239fbe9103568147d566d7482e480350b8.tar.gz
frameworks_av-22eb4e239fbe9103568147d566d7482e480350b8.tar.bz2
Update audio comments
Change-Id: I85d7d2f6381b251db5695202fec75128883a8662
Diffstat (limited to 'services/audioflinger/AudioFlinger.h')
-rw-r--r--services/audioflinger/AudioFlinger.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/services/audioflinger/AudioFlinger.h b/services/audioflinger/AudioFlinger.h
index 8cf58b1..54cf239 100644
--- a/services/audioflinger/AudioFlinger.h
+++ b/services/audioflinger/AudioFlinger.h
@@ -861,6 +861,9 @@ private:
sp<IMemory> sharedBuffer() const { return mSharedBuffer; }
+ // framesWritten is cumulative, never reset, and is shared all tracks
+ // audioHalFrames is derived from output latency
+ // FIXME parameters not needed, could get them from the thread
bool presentationComplete(size_t framesWritten, size_t audioHalFrames);
public:
@@ -893,6 +896,7 @@ private:
bool mHasVolumeController;
size_t mPresentationCompleteFrames; // number of frames written to the
// audio HAL when this track will be fully rendered
+ // zero means not monitoring
private:
IAudioFlinger::track_flags_t mFlags;
@@ -997,7 +1001,7 @@ private:
};
- // playback track
+ // playback track, used by DuplicatingThread
class OutputTrack : public Track {
public: