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

Unified Diff: webrtc/call/audio_receive_stream.h

Issue 2516993002: Pass SdpAudioFormat through Channel, without converting to CodecInst (Closed)
Patch Set: add TODO Created 3 years, 11 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 | « webrtc/audio/audio_receive_stream.cc ('k') | webrtc/media/engine/payload_type_mapper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/call/audio_receive_stream.h
diff --git a/webrtc/call/audio_receive_stream.h b/webrtc/call/audio_receive_stream.h
index 1299ded4291bdcab67c97cff3a37374189848bc8..3841672595c2d5cfe1a03848e34e51622723157f 100644
--- a/webrtc/call/audio_receive_stream.h
+++ b/webrtc/call/audio_receive_stream.h
@@ -102,11 +102,8 @@ class AudioReceiveStream {
// stream to one audio stream. Tracked by issue webrtc:4762.
std::string sync_group;
- // Decoders for every payload that we can receive. Call owns the
- // AudioDecoder instances once the Config is submitted to
- // Call::CreateReceiveStream().
- // TODO(solenberg): Use unique_ptr<> once our std lib fully supports C++11.
- std::map<uint8_t, AudioDecoder*> decoder_map;
+ // Decoder specifications for every payload type that we can receive.
+ std::map<int, SdpAudioFormat> decoder_map;
rtc::scoped_refptr<AudioDecoderFactory> decoder_factory;
};
« no previous file with comments | « webrtc/audio/audio_receive_stream.cc ('k') | webrtc/media/engine/payload_type_mapper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698