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

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

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
« no previous file with comments | « webrtc/modules/utility/source/file_recorder_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/utility/source/file_recorder_impl.cc
diff --git a/webrtc/modules/utility/source/file_recorder_impl.cc b/webrtc/modules/utility/source/file_recorder_impl.cc
index 1ea62e6e03a4158c376849c2b9f5fcdddcd3fafb..c11bbe993ffe76d2f20c7422cb6f72fec82e57d3 100644
--- a/webrtc/modules/utility/source/file_recorder_impl.cc
+++ b/webrtc/modules/utility/source/file_recorder_impl.cc
@@ -32,7 +32,6 @@ FileRecorderImpl::FileRecorderImpl(uint32_t instanceID,
_fileFormat(fileFormat),
_moduleFile(MediaFile::CreateMediaFile(_instanceID)),
codec_info_(),
- _amrFormat(AMRFileStorage),
_audioBuffer(),
_audioEncoder(instanceID),
_audioResampler()
@@ -62,16 +61,13 @@ int32_t FileRecorderImpl::RegisterModuleFileCallback(
int32_t FileRecorderImpl::StartRecordingAudioFile(
const char* fileName,
const CodecInst& codecInst,
- uint32_t notificationTimeMs,
- ACMAMRPackingFormat amrFormat)
+ uint32_t notificationTimeMs)
{
if(_moduleFile == NULL)
{
return -1;
}
codec_info_ = codecInst;
- _amrFormat = amrFormat;
-
int32_t retVal = 0;
retVal =_moduleFile->StartRecordingAudioFile(fileName, _fileFormat,
codecInst,
@@ -97,12 +93,9 @@ int32_t FileRecorderImpl::StartRecordingAudioFile(
int32_t FileRecorderImpl::StartRecordingAudioFile(
OutStream& destStream,
const CodecInst& codecInst,
- uint32_t notificationTimeMs,
- ACMAMRPackingFormat amrFormat)
+ uint32_t notificationTimeMs)
{
codec_info_ = codecInst;
- _amrFormat = amrFormat;
-
int32_t retVal = _moduleFile->StartRecordingAudioStream(
destStream,
_fileFormat,
« no previous file with comments | « webrtc/modules/utility/source/file_recorder_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698