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

Unified Diff: webrtc/voice_engine/channel.cc

Issue 2250643004: Rename NewFilePlayer to its original name, CreateFilePlayer (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@remove7
Patch Set: 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/source/file_player_unittests.cc ('k') | webrtc/voice_engine/transmit_mixer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/voice_engine/channel.cc
diff --git a/webrtc/voice_engine/channel.cc b/webrtc/voice_engine/channel.cc
index cb639e53bb5f66060d50b6edd89295b58869f6ca..0a6ef22a055ce3b3bf618f1c14b89c107fe422f5 100644
--- a/webrtc/voice_engine/channel.cc
+++ b/webrtc/voice_engine/channel.cc
@@ -1765,7 +1765,7 @@ int Channel::StartPlayingFileLocally(const char* fileName,
output_file_player_.reset();
}
- output_file_player_ = FilePlayer::NewFilePlayer(
+ output_file_player_ = FilePlayer::CreateFilePlayer(
_outputFilePlayerId, (const FileFormats)format);
if (!output_file_player_) {
@@ -1832,7 +1832,7 @@ int Channel::StartPlayingFileLocally(InStream* stream,
}
// Create the instance
- output_file_player_ = FilePlayer::NewFilePlayer(
+ output_file_player_ = FilePlayer::CreateFilePlayer(
_outputFilePlayerId, (const FileFormats)format);
if (!output_file_player_) {
@@ -1960,7 +1960,7 @@ int Channel::StartPlayingFileAsMicrophone(const char* fileName,
}
// Create the instance
- input_file_player_ = FilePlayer::NewFilePlayer(_inputFilePlayerId,
+ input_file_player_ = FilePlayer::CreateFilePlayer(_inputFilePlayerId,
(const FileFormats)format);
if (!input_file_player_) {
@@ -2022,7 +2022,7 @@ int Channel::StartPlayingFileAsMicrophone(InStream* stream,
}
// Create the instance
- input_file_player_ = FilePlayer::NewFilePlayer(_inputFilePlayerId,
+ input_file_player_ = FilePlayer::CreateFilePlayer(_inputFilePlayerId,
(const FileFormats)format);
if (!input_file_player_) {
« no previous file with comments | « webrtc/modules/utility/source/file_player_unittests.cc ('k') | webrtc/voice_engine/transmit_mixer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698