Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(963)

Unified Diff: media/cast/audio_receiver/audio_receiver.h

Issue 306783002: [Cast] Clean-up: Merge AudioReceiverConfig+VideoReceiverConfig-->FrameReceiverConfig. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed kFakeSoftwareAudio in AudioCodec enum, per hclam@. Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/cast/audio_receiver/audio_decoder_unittest.cc ('k') | media/cast/audio_receiver/audio_receiver.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/audio_receiver/audio_receiver.h
diff --git a/media/cast/audio_receiver/audio_receiver.h b/media/cast/audio_receiver/audio_receiver.h
index 454a62fdf4817dfbf3b8940f8a24ec0bbe97a6c9..87c5147b50b83b5e382ee89a84b687d3a6e1f882 100644
--- a/media/cast/audio_receiver/audio_receiver.h
+++ b/media/cast/audio_receiver/audio_receiver.h
@@ -56,7 +56,7 @@ class AudioReceiver : public RtpReceiver,
public base::SupportsWeakPtr<AudioReceiver> {
public:
AudioReceiver(scoped_refptr<CastEnvironment> cast_environment,
- const AudioReceiverConfig& audio_config,
+ const FrameReceiverConfig& audio_config,
transport::PacedPacketSender* const packet_sender);
virtual ~AudioReceiver();
@@ -157,6 +157,9 @@ class AudioReceiver : public RtpReceiver,
// etc.).
const base::TimeDelta target_playout_delay_;
+ // Hack: This is used in logic that determines whether to skip frames.
+ const base::TimeDelta expected_frame_duration_;
+
// Set to false initially, then set to true after scheduling the periodic
// sending of reports back to the sender. Reports are first scheduled just
// after receiving a first packet (since the first packet identifies the
« no previous file with comments | « media/cast/audio_receiver/audio_decoder_unittest.cc ('k') | media/cast/audio_receiver/audio_receiver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698