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

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

Issue 1360173003: Remove last use of ACMAMRPackingFormat (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@util-codec-remove-amr
Patch Set: Created 5 years, 3 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
Index: webrtc/modules/utility/source/file_recorder_impl.h
diff --git a/webrtc/modules/utility/source/file_recorder_impl.h b/webrtc/modules/utility/source/file_recorder_impl.h
index 1e83899be44ab2fe6b8b930e9f46dc4e7a5ea582..b4f507e6a74137b080f49d532d5dccfd8013cef8 100644
--- a/webrtc/modules/utility/source/file_recorder_impl.h
+++ b/webrtc/modules/utility/source/file_recorder_impl.h
@@ -50,13 +50,11 @@ public:
virtual int32_t StartRecordingAudioFile(
const char* fileName,
const CodecInst& codecInst,
- uint32_t notificationTimeMs,
- ACMAMRPackingFormat amrFormat = AMRFileStorage);
+ uint32_t notificationTimeMs) override;
virtual int32_t StartRecordingAudioFile(
OutStream& destStream,
const CodecInst& codecInst,
- uint32_t notificationTimeMs,
- ACMAMRPackingFormat amrFormat = AMRFileStorage);
+ uint32_t notificationTimeMs) override;
virtual int32_t StopRecording();
virtual bool IsRecording() const;
virtual int32_t codec_info(CodecInst& codecInst) const;
@@ -67,8 +65,7 @@ public:
const char* fileName,
const CodecInst& audioCodecInst,
const VideoCodec& videoCodecInst,
- ACMAMRPackingFormat amrFormat = AMRFileStorage,
- bool videoOnly = false)
+ bool videoOnly = false) override
{
return -1;
}
@@ -88,8 +85,6 @@ protected:
private:
CodecInst codec_info_;
- ACMAMRPackingFormat _amrFormat;
-
int8_t _audioBuffer[MAX_AUDIO_BUFFER_IN_BYTES];
AudioCoder _audioEncoder;
Resampler _audioResampler;
« no previous file with comments | « webrtc/modules/utility/interface/file_recorder.h ('k') | webrtc/modules/utility/source/file_recorder_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698