summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/wifi-display/source/PlaybackSession.h
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2012-10-02 10:47:48 -0700
committerAndreas Huber <andih@google.com>2012-10-02 10:47:48 -0700
commit887070dbe6b6258ba04f988fd90c3ac856d2e5bf (patch)
treebb47184a6db32ebf2f5fda22242067215c1a1f65 /media/libstagefright/wifi-display/source/PlaybackSession.h
parent21daec5798f7e13c5ab6b513d27b3f79d4779bca (diff)
downloadframeworks_av-887070dbe6b6258ba04f988fd90c3ac856d2e5bf.zip
frameworks_av-887070dbe6b6258ba04f988fd90c3ac856d2e5bf.tar.gz
frameworks_av-887070dbe6b6258ba04f988fd90c3ac856d2e5bf.tar.bz2
More power savings: No need to keep a history of outgoing packets
if we're not enabling retransmission anyway. Change-Id: I361120607974a2fab758c28b5033716213aef88e related-to-bug: 7248248
Diffstat (limited to 'media/libstagefright/wifi-display/source/PlaybackSession.h')
-rw-r--r--media/libstagefright/wifi-display/source/PlaybackSession.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/media/libstagefright/wifi-display/source/PlaybackSession.h b/media/libstagefright/wifi-display/source/PlaybackSession.h
index 7da8440..3bdb223 100644
--- a/media/libstagefright/wifi-display/source/PlaybackSession.h
+++ b/media/libstagefright/wifi-display/source/PlaybackSession.h
@@ -161,8 +161,10 @@ private:
bool mSendSRPending;
+#if ENABLE_RETRANSMISSION
List<sp<ABuffer> > mHistory;
size_t mHistoryLength;
+#endif
#if TRACK_BANDWIDTH
int64_t mFirstPacketTimeUs;