Index: webrtc/voice_engine/channel.cc |
diff --git a/webrtc/voice_engine/channel.cc b/webrtc/voice_engine/channel.cc |
index 29ee30195d2979f38a701fcd07d1ecea4aa4f78c..016a1e203c182907aa0a0700731ae494c4ddf016 100644 |
--- a/webrtc/voice_engine/channel.cc |
+++ b/webrtc/voice_engine/channel.cc |
@@ -1752,7 +1752,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_) { |
@@ -1819,7 +1819,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_) { |
@@ -1947,7 +1947,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_) { |
@@ -2009,7 +2009,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_) { |