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

Unified Diff: webrtc/voice_engine/channel.cc

Issue 2319123003: FilePlayer: Remove backwards compatibility stuff that we no longer need (Closed)
Patch Set: Created 4 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_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 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_) {
« 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