| 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_) {
|
|
|