| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef MEDIA_CAST_AUDIO_RECEIVER_AUDIO_RECEIVER_H_ | 5 #ifndef MEDIA_CAST_AUDIO_RECEIVER_AUDIO_RECEIVER_H_ |
| 6 #define MEDIA_CAST_AUDIO_RECEIVER_AUDIO_RECEIVER_H_ | 6 #define MEDIA_CAST_AUDIO_RECEIVER_AUDIO_RECEIVER_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/callback.h" | 9 #include "base/callback.h" |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 // Actually send the next cast message. | 103 // Actually send the next cast message. |
| 104 void SendNextCastMessage(); | 104 void SendNextCastMessage(); |
| 105 | 105 |
| 106 scoped_refptr<CastEnvironment> cast_environment_; | 106 scoped_refptr<CastEnvironment> cast_environment_; |
| 107 base::WeakPtrFactory<AudioReceiver> weak_factory_; | 107 base::WeakPtrFactory<AudioReceiver> weak_factory_; |
| 108 | 108 |
| 109 const AudioCodec codec_; | 109 const AudioCodec codec_; |
| 110 const int frequency_; | 110 const int frequency_; |
| 111 base::TimeDelta target_delay_delta_; | 111 base::TimeDelta target_delay_delta_; |
| 112 scoped_ptr<Framer> audio_buffer_; | 112 scoped_ptr<Framer> audio_buffer_; |
| 113 scoped_refptr<AudioDecoder> audio_decoder_; | 113 scoped_ptr<AudioDecoder> audio_decoder_; |
| 114 scoped_ptr<LocalRtpAudioData> incoming_payload_callback_; | 114 scoped_ptr<LocalRtpAudioData> incoming_payload_callback_; |
| 115 scoped_ptr<LocalRtpAudioFeedback> incoming_payload_feedback_; | 115 scoped_ptr<LocalRtpAudioFeedback> incoming_payload_feedback_; |
| 116 scoped_ptr<RtpReceiver> rtp_receiver_; | 116 scoped_ptr<RtpReceiver> rtp_receiver_; |
| 117 scoped_ptr<Rtcp> rtcp_; | 117 scoped_ptr<Rtcp> rtcp_; |
| 118 scoped_ptr<RtpReceiverStatistics> rtp_audio_receiver_statistics_; | 118 scoped_ptr<RtpReceiverStatistics> rtp_audio_receiver_statistics_; |
| 119 base::TimeDelta time_offset_; | 119 base::TimeDelta time_offset_; |
| 120 base::TimeTicks time_first_incoming_packet_; | 120 base::TimeTicks time_first_incoming_packet_; |
| 121 uint32 first_incoming_rtp_timestamp_; | 121 uint32 first_incoming_rtp_timestamp_; |
| 122 scoped_ptr<crypto::Encryptor> decryptor_; | 122 scoped_ptr<crypto::Encryptor> decryptor_; |
| 123 std::string iv_mask_; | 123 std::string iv_mask_; |
| 124 | 124 |
| 125 std::list<AudioFrameEncodedCallback> queued_encoded_callbacks_; | 125 std::list<AudioFrameEncodedCallback> queued_encoded_callbacks_; |
| 126 }; | 126 }; |
| 127 | 127 |
| 128 } // namespace cast | 128 } // namespace cast |
| 129 } // namespace media | 129 } // namespace media |
| 130 | 130 |
| 131 #endif // MEDIA_CAST_AUDIO_RECEIVER_AUDIO_RECEIVER_H_ | 131 #endif // MEDIA_CAST_AUDIO_RECEIVER_AUDIO_RECEIVER_H_ |
| OLD | NEW |