summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2011-03-22 10:31:21 -0700
committerAndreas Huber <andih@google.com>2011-03-22 13:18:09 -0700
commit84b343f29063fbfa2ee61b2e3d37ba059ca507d4 (patch)
treeb1bb4c481a3348b4ca480f262b7016e45106f8e5 /include
parent0b500c2e81288190a6ce8b20c842a83a19e038b5 (diff)
downloadframeworks_av-84b343f29063fbfa2ee61b2e3d37ba059ca507d4.zip
frameworks_av-84b343f29063fbfa2ee61b2e3d37ba059ca507d4.tar.gz
frameworks_av-84b343f29063fbfa2ee61b2e3d37ba059ca507d4.tar.bz2
Delay signaling the end of audio playback until all frames have actually played.
Change-Id: I1fa07358a885a818fd0a5d7da425740f86095e10 related-to-bug: 3404000
Diffstat (limited to 'include')
-rw-r--r--include/media/stagefright/AudioPlayer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/media/stagefright/AudioPlayer.h b/include/media/stagefright/AudioPlayer.h
index d12ee9c..0b79324 100644
--- a/include/media/stagefright/AudioPlayer.h
+++ b/include/media/stagefright/AudioPlayer.h
@@ -108,6 +108,8 @@ private:
void reset();
+ uint32_t getNumFramesPendingPlayout() const;
+
AudioPlayer(const AudioPlayer &);
AudioPlayer &operator=(const AudioPlayer &);
};