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

Unified Diff: webrtc/modules/utility/source/coder.h

Issue 2056653002: Fix trivial lint errors in FileRecorder and FilePlayer (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@remove5
Patch Set: Fix trivial lint errors Created 4 years, 4 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/modules/utility/include/file_recorder.h ('k') | webrtc/modules/utility/source/coder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/utility/source/coder.h
diff --git a/webrtc/modules/utility/source/coder.h b/webrtc/modules/utility/source/coder.h
index 5f441904bee6c823726f440bcd6d136452cffcec..4855a004650b689f1711507fb19f6224337049c6 100644
--- a/webrtc/modules/utility/source/coder.h
+++ b/webrtc/modules/utility/source/coder.h
@@ -24,23 +24,23 @@ class AudioFrame;
class AudioCoder : public AudioPacketizationCallback {
public:
- AudioCoder(uint32_t instance_id);
+ explicit AudioCoder(uint32_t instance_id);
~AudioCoder();
int32_t SetEncodeCodec(const CodecInst& codec_inst);
int32_t SetDecodeCodec(const CodecInst& codec_inst);
- int32_t Decode(AudioFrame& decoded_audio,
+ int32_t Decode(AudioFrame* decoded_audio,
uint32_t samp_freq_hz,
const int8_t* incoming_payload,
size_t payload_length);
- int32_t PlayoutData(AudioFrame& decoded_audio, uint16_t& samp_freq_hz);
+ int32_t PlayoutData(AudioFrame* decoded_audio, uint16_t samp_freq_hz);
int32_t Encode(const AudioFrame& audio,
int8_t* encoded_data,
- size_t& encoded_length_in_bytes);
+ size_t* encoded_length_in_bytes);
protected:
int32_t SendData(FrameType frame_type,
« no previous file with comments | « webrtc/modules/utility/include/file_recorder.h ('k') | webrtc/modules/utility/source/coder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698