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

Unified Diff: webrtc/voice_engine/transmit_mixer.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/voice_engine/channel.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/voice_engine/transmit_mixer.cc
diff --git a/webrtc/voice_engine/transmit_mixer.cc b/webrtc/voice_engine/transmit_mixer.cc
index 6fcc64452fb02039652696649efacaa4dcfe8aa4..834510d8f697d9f992c198e0501c805027cda03f 100644
--- a/webrtc/voice_engine/transmit_mixer.cc
+++ b/webrtc/voice_engine/transmit_mixer.cc
@@ -491,7 +491,7 @@ int TransmitMixer::StartPlayingFileAsMicrophone(const char* fileName,
// Dynamically create the instance
file_player_ =
- FilePlayer::NewFilePlayer(_filePlayerId, (const FileFormats)format);
+ FilePlayer::CreateFilePlayer(_filePlayerId, (const FileFormats)format);
if (!file_player_) {
_engineStatisticsPtr->SetLastError(
@@ -557,7 +557,7 @@ int TransmitMixer::StartPlayingFileAsMicrophone(InStream* stream,
// Dynamically create the instance
file_player_ =
- FilePlayer::NewFilePlayer(_filePlayerId, (const FileFormats)format);
+ FilePlayer::CreateFilePlayer(_filePlayerId, (const FileFormats)format);
if (!file_player_) {
_engineStatisticsPtr->SetLastError(
« no previous file with comments | « webrtc/voice_engine/channel.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698